diff options
| author | Felipe Leme <felipeal@google.com> | 2018-08-16 10:49:03 -0700 |
|---|---|---|
| committer | Felipe Leme <felipeal@google.com> | 2018-08-17 13:55:58 -0700 |
| commit | 3438421295ce12cd8ffd1de67476ef9d06e37658 (patch) | |
| tree | 0f8dac280ff968a90187530bda810a43c3f02413 /core/java/android | |
| parent | a9aacf9bfde5a9f59242b88394a76d2a0f3c5cb8 (diff) | |
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 7d4461d133decb5d903c26b88e8261935aaba617)
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/view/autofill/AutofillManager.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/view/autofill/AutofillManager.java b/core/java/android/view/autofill/AutofillManager.java index eac33a923cb9..578cc06d1c88 100644 --- a/core/java/android/view/autofill/AutofillManager.java +++ b/core/java/android/view/autofill/AutofillManager.java @@ -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: { |
