diff options
author | Tony Mak <tonymak@google.com> | 2019-03-05 14:46:24 +0000 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2019-03-05 14:57:53 +0000 |
commit | fc374578b73a97477beab1af9d89dfafc084c7bb (patch) | |
tree | 5710242b7935ce2c3be2c6a7458bb6c52503eed8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0175a40cc5cc33971842e2bccfda60130b78266f (diff) |
Migrate to DeviceConfig in TextClassifier
ConfigParser is introduced to read the flags from DeviceConfig.
If the flag is missing, fallback to Settings.
Also, adds a new setting key: TEXT_CLASSIFIER_ACTION_MODEL_PARAMS
Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/
Test: adb shell cmd device_config put textclassifier system_textclassifier_enabled false
adb shell dumpsys textclassification, observed that the flag is updated.
BUG: 123389900
Change-Id: Icbd26ec7ed223e40b60696d12327cb123b96c4fd
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions