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

Commit a7d72dfd authored by Svetoslav's avatar Svetoslav Committed by Android (Google) Code Review
Browse files

Merge "Proper clean up when Ui test automation service is unregistered or dies."

parents 0a4b65e0 7379a95a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2105,6 +2105,8 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
                if (mIsAutomation) {
                    // We no longer have an automation service, so restore
                    // the state based on values in the settings database.
                    userState.mInstalledServices.remove(mAccessibilityServiceInfo);
                    userState.mEnabledServices.remove(mComponentName);
                    userState.mUiAutomationService = null;
                    userState.mUiAutomationServiceClient = null;
                }