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

Commit 34384212 authored by Felipe Leme's avatar Felipe Leme
Browse files

Log AutofillClient on CompatibilityBridge.onAccessibilityEvent().

This is useful to identify cases where a browser used a trampoline activity to
launch its rendering activity.

Bug: 112584717
Bug: 112690889

Test: adb logcat AutofillManager

Change-Id: I5e58cd8c8dc67ddeed8aa0996233dca9b89cc0d3
(cherry picked from commit 7d4461d1)
parent a9aacf9b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2296,8 +2296,9 @@ public final class AutofillManager {
            if (sVerbose) {
                // NOTE: this is waaay spammy, but that's life.
                Log.v(TAG, "onAccessibilityEvent(" + AccessibilityEvent.eventTypeToString(type)
                        + "): "
                        + AccessibilityNodeInfo.getVirtualDescendantId(event.getSourceNodeId()));
                        + "): virtualId="
                        + AccessibilityNodeInfo.getVirtualDescendantId(event.getSourceNodeId())
                        + ", client=" + getClient());
            }
            switch (type) {
                case AccessibilityEvent.TYPE_VIEW_FOCUSED: {