Call onSelectionEvent to log instead of using reflection
1. Removed reflection and instead use SelectionEvent introduced in P That means we won't have logging from O device anymore. However, P-R logs should be enough for us to conduct A/B experiments. 2. By calling onSelectionEvent, events would now be routed to a TextClassifierService if exists. Previously, TCS won't get the event. 3. This will help migrate to the new android metrics logger. Bug: b/120032995 Change-Id: I4d39600cb0d029f2b311d66fb97ec6bb7a1c7a2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1868882Reviewed-by:Shimi Zhang <ctzsm@chromium.org> Reviewed-by:
Bo <boliu@chromium.org> Commit-Queue: Tony Mak <tonymak@google.com> Auto-Submit: Tony Mak <tonymak@google.com> Cr-Commit-Position: refs/heads/master@{#708964}
Showing
This diff is collapsed.
Please register or sign in to comment