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

Commit 0df5bbfe authored by Phil Weaver's avatar Phil Weaver Committed by Gerrit Code Review
Browse files

Merge "Fix "already registered" error"

parents 54c9ff98 08280849
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -114,7 +114,6 @@ class UiAutomationManager {
            mUiAutomationFlags = flags;
            mUiAutomationServiceInfo = accessibilityServiceInfo;
            mUiAutomationService.mServiceInterface = serviceClient;
            mUiAutomationService.onAdded();
            try {
                mUiAutomationService.mServiceInterface.asBinder().linkToDeath(mUiAutomationService,
                        0);
@@ -124,6 +123,8 @@ class UiAutomationManager {
                return;
            }

            mUiAutomationService.onAdded();

            mUiAutomationService.connectServiceUnknownThread();
        }
    }