summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2020-04-23 22:27:37 +0100
committerTony Mak <tonymak@google.com>2020-04-24 12:35:48 +0100
commit6f4e063edbaacfeb56b882644b7ca1a427f61c09 (patch)
tree0e774609f068a2b951a0cf97db42aa04f6b32425 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentfb9a1917100adb1cfa6d762678f4aef9bccedc90 (diff)
Use TextClassicationSession to call smart selection APIs.
We used to use TextClassicationSession to send us logging only (i.e. onSelectionEvent()). Now we use TCSession to call smart selection APIs (i.e. suggestSelection and classifyText). This allows the TCS to obtain the session ID in onSuggestSelection and onClassifyText. BUG: 149077320 Test: atest TextViewActivityTest Test: Try a few smart selections and log the sessionID of each TC APIs. Change-Id: I320249735aa08fb7e8612060955b2aa5496da94b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions