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

Commit cf612f44 authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
Browse files

Merge "Log CompatibilityBridge.onAccessibilityEvent()" into pi-dev

am: e4d35b6d

Change-Id: I62f3895c3fb448faad084507615f7a09a5b5af96
parents db76298a e4d35b6d
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -2299,7 +2299,14 @@ public final class AutofillManager {
        @Override
        public AccessibilityEvent onAccessibilityEvent(AccessibilityEvent event,
                boolean accessibilityEnabled, int relevantEventTypes) {
            switch (event.getEventType()) {
            final int type = event.getEventType();
            if (sVerbose) {
                // NOTE: this is waaay spammy, but that's life.
                Log.v(TAG, "onAccessibilityEvent(" + AccessibilityEvent.eventTypeToString(type)
                        + "): "
                        + AccessibilityNodeInfo.getVirtualDescendantId(event.getSourceNodeId()));
            }
            switch (type) {
                case AccessibilityEvent.TYPE_VIEW_FOCUSED: {
                    synchronized (mLock) {
                        if (mFocusedWindowId == event.getWindowId()