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

Commit f09a2975 authored by Svetoslav's avatar Svetoslav Committed by Android Git Automerger
Browse files

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

# Via Android (Google) Code Review (1) and Svetoslav (1)
* commit 'a7d72dfd':
  Proper clean up when Ui test automation service is unregistered or dies.
parents 9bf2a2f7 a7d72dfd
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;
                }