diff options
author | Joanne Chung <joannechung@google.com> | 2019-12-02 21:18:43 +0800 |
---|---|---|
committer | Joanne Chung <joannechung@google.com> | 2019-12-09 19:35:32 +0800 |
commit | c44f529a92a25f8d6e4f07149fc5b34311d06bd8 (patch) | |
tree | f0e7eb5576eb3c33e84c6d914afc0f204b77081f /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | bd15451fbd32a7439399bd4c53f90771f76dd0e6 (diff) |
Remove ConfigParser from TextClassificationConstants.
ConfigParser was introduced mostly for reading both legacy Settings and
DeviceConfig lazily. We are ready to migrate to DeviceConfig and no
longer read legacy Settings, and thus we don't need this class.
DeviceConfig invalidates cache whenenver any config in the same namespace
is changed, and thus we don't need a listener.
No performance issue observed after testing TextClassificationManagerPerfTest.
Bug: 143585708
Test: atest FrameworksCoreTests:android.view.textclassifier
Test: atest android.view.textclassifier.cts.TextClassifierServiceSwapTest
Test: frameworks/base/apct-tests/perftests/textclassifier/run.sh
Test: adb shell cmd device_config put textclassifier <key> <value> and
adb shell dumpsys textclassification monitor the value change.
Test: Dynamic switch TCS and make sure the service status is expected.
Change-Id: I3c07ef4b16cd1f81c6aa60a0b9b26cac1a3bb5c0
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions