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

Commit e4d35b6d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents ccefa79c a9aacf9b
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()