diff options
author | Tony Mak <tonymak@google.com> | 2019-05-29 12:42:45 +0800 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2019-06-04 07:44:17 +0000 |
commit | 8b1ce905c90b56891954f14cec76953f829a7b85 (patch) | |
tree | 44f2fbddb1ff6a84bd59a2d4a75a6c8cc23e1cde /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e838a4fb90ae45c61e7a9783a8ee0848a168e677 (diff) |
Avoid loading the full file to memory in ConfigUpdateInstallReceiver
The conversation action model file is around 3MB, it may be a problem
to load the entire file into the memory in some low-end devices.
Test: 1. Testing all textclassifier models update from end to end
adb shell rm -rf /data/misc/textclassifier/
adb shell pm clear com.google.android.configupdater
adb shell am broadcast -a com.google.android.configupdater.GSERVICES_CHANGED -p "com.google.android.configupdater"
adb shell dumpsys textclassification, observe all the files are there
BUG: 133808606
Change-Id: I720154dd35a2d58216d1bb65976c66cc0be5a9c7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions