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

Commit 1b2e31dd authored by Adrian Roos's avatar Adrian Roos Committed by Android (Google) Code Review
Browse files

Merge "UiAutomation: report flags to better diagnose unintentionally disabling a11y" into main

parents 99d67d33 ba030ceb
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -101,8 +101,10 @@ class UiAutomationManager {
            SystemActionPerformer systemActionPerformer,
            AccessibilityWindowManager awm, int flags) {
        accessibilityServiceInfo.setComponentName(COMPONENT_NAME);
        Slogf.i(LOG_TAG, "Registering UiTestAutomationService (id=%s) when called by user %d",
                accessibilityServiceInfo.getId(), Binder.getCallingUserHandle().getIdentifier());
        Slogf.i(LOG_TAG, "Registering UiTestAutomationService (id=%s, flags=0x%x) when"
                        + " called by user %d",
                accessibilityServiceInfo.getId(), flags,
                Binder.getCallingUserHandle().getIdentifier());
        if (mUiAutomationService != null) {
            throw new IllegalStateException(
                    "UiAutomationService " + mUiAutomationService.mServiceInterface