summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAbodunrinwa Toki <toki@google.com>2017-12-05 07:33:41 +0000
committerAbodunrinwa Toki <toki@google.com>2018-01-31 10:09:54 +0000
commit3bb443613820c7e54512cef9659ef2e9428243c6 (patch)
treefbe9358dca81716b6bdd4e3daa36ba1b75c930cd /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7c691c606c0e68eea5ddea4a910232df68501332 (diff)
Implement TextClassifier.getLogger API
- Introduces getLogger() API. - A logger should run in the client's process. This helps us manage sessions specific to a client. - The logger exposes a tokenizer that clients may use to tokenize strings for logging purposes. - Logger subclasses need to provide a writeEvent() implementation. - SelectionEvent is serializable over IPC. - Logger takes care of the session management. It writes session specific information into the SelectionEvent. - We still keep the SmartSelectionEventTracker for now so clients can slowly move off of it. The plan is to delete it. - The plan is to include support other event types. e.g. link events. Bug: 64914512 Bug: 67609167 Test: See topic Change-Id: Ic9470cf8f969add8a4c6570f78603d0b118956cd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions