Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6651da43 authored by Rhed Jao's avatar Rhed Jao Committed by Android (Google) Code Review
Browse files

Merge "Fix a11y service targeting sdk version doesn't update" into rvc-dev

parents 855ae008 f74e5ccb
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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);