summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2019-03-16 10:28:42 +0000
committerTony Mak <tonymak@google.com>2019-03-16 11:39:38 +0000
commit72e17976f38403a05a62d792613dbb296dcc85fe (patch)
treecae4c7eb0c8ddfdaff994a150b1692a5b4498fd2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent22640b9ac783a131a5bcc83ea43c7047bda6394d (diff)
Include language information in intents from the TextClassifier.
This CL runs langid on classifyText() and sets the language information of the classified text in Intent extras that are sent to the destination app. If the text is too small for langId to detect the text reliably, include surrounding text as necessary. Includes flags to tune/disable how sorrounding text is used. Also fixes failing tests. Bug: 126453204 Test: atest android.view.textclassifier Change-Id: I9ef2a33690dc3787f6544ceed0f41c527f4423e5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions