OSDN Git Service

TRON: Log "textAssist" actions.
authorAbodunrinwa Toki <toki@google.com>
Wed, 19 Apr 2017 20:02:36 +0000 (21:02 +0100)
committerAbodunrinwa Toki <toki@google.com>
Wed, 19 Apr 2017 21:10:51 +0000 (22:10 +0100)
commit54486c16bac3b31dc04074d2377fe8c63a2e4a0f
treecbe16b3d870c3a62527c3e48459e1ba5a06aa26b
parentf3157e1692349d85ed6e7a3908b350fbcaeb176c
TRON: Log "textAssist" actions.

- Logs when the assist menu item appears in the text selection menu.
- Logs when the assist menu item is selected.
- Logs the the type of the assist menu item that was presented.

Test: Manually tested by looking at the logs. See: go/tron-howto
Bug: 32572232
Change-Id: Ibbbf59423b3f510ab6f2f072962a556c3d6e2f65
core/java/android/view/textclassifier/TextClassificationResult.java
core/java/android/view/textclassifier/TextClassifierImpl.java
core/java/android/widget/Editor.java
core/java/android/widget/TextViewMetrics.java
proto/src/metrics_constants.proto