summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Joanne Chung <joannechung@google.com> 2022-04-08 19:39:28 +0800
committer Joanne Chung <joannechung@google.com> 2022-05-03 21:09:51 +0800
commit8edc50d8bf69e184327514510e797f6cd9ab5548 (patch)
treed359758e0e6159fe89f5548aa099f7c88b290576 /libs/androidfw/StringPool.cpp
parent99b30edb9ecd1c70086792928215f5d3a97666e2 (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions