summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorAbodunrinwa Toki <toki@google.com>2019-01-25 19:27:11 +0000
committerAbodunrinwa Toki <toki@google.com>2019-01-28 11:27:01 +0000
commita77dba6a22ad2ee61c0ef4e06275ec8f19266df3 (patch)
tree5826c37665c6e92995654c8965aba2c99e377c50 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentc49da3914e1584aa0c8b4fd4a6d84fa2d2b8bc7c (diff)
Add threshold flag for foreign language detection.
Required for feature tuning and experiments Also - Updates Javadoc as per API review request - Updates TextClassificationConstants test Bug: 120794314 Bug: 118296637 Bug: 34780395 Test: atest core/tests/coretests/src/android/view/textclassifier/TextClassificationConstantsTest.java Test: (MANUAL) 1. Install an app that handles Intent.ACTION_TRANSLATE 2. Run adb shell settings put global text_classifier_constants system_textclassifier_enabled=false,lang_id_threshold_override=0 3. Select foreign text 4. Observe that a "Translate" option is shown in the selection toolbar 1. Install an app that handles Intent.ACTION_TRANSLATE 2. Run adb shell settings put global text_classifier_constants system_textclassifier_enabled=false,lang_id_threshold_override=2 3. Select foreign text 4. Observe that a "Translate" option is not shown in the selection toolbar Change-Id: I02b6ca48669e66a24150b04bba2ebfcf9ebe6bfd
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions