Fix Assistant breaks after stopping the app.
Android 13 introduces a feature that allows users to kill foreground services that will break the home screen mic function. The root cause is because we don't handle the binding die case. Ideally we should migrate the force stop, package update cases to onBindingDied but we would like to minimize the risk before release. From the fgs task manager description, we can check new REASON_USER_REQUESTED reason on ApplicationExitInfo, we only handle this case to rebind the service to minimize the scope. Bug: 225166047 Test: atest CtsVoiceInteractionTestCases Test: manual. The function still works after adb shell cmd activity stop-app com.google.android.googlequicksearchbox Change-Id: Ia8395fc6f7b6df36b158f0578d57d948748a43b3
Loading
Please register or sign in to comment