Merge "Fix a11y service targeting sdk version doesn't update" into rvc-dev am: 6651da4348
Change-Id: I8c0b0b4b1221addb932cb6c79482ea2a07ea253e
This commit is contained in:
@@ -413,7 +413,12 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
|
||||
&& component.getPackageName().equals(packageName))
|
||||
|| userState.mCrashedServices.removeIf(component -> component != null
|
||||
&& component.getPackageName().equals(packageName));
|
||||
if (reboundAService) {
|
||||
// Reloads the installed services info to make sure the rebound service could
|
||||
// get a new one.
|
||||
userState.mInstalledServices.clear();
|
||||
final boolean configurationChanged =
|
||||
readConfigurationForUserStateLocked(userState);
|
||||
if (reboundAService || configurationChanged) {
|
||||
onUserStateChangedLocked(userState);
|
||||
}
|
||||
migrateAccessibilityButtonSettingsIfNecessaryLocked(userState, packageName);
|
||||
|
||||
Reference in New Issue
Block a user