diff options
author | ykhung <ykhung@google.com> | 2021-04-14 15:53:07 +0800 |
---|---|---|
committer | YUKAI HUNG <ykhung@google.com> | 2021-04-14 09:05:34 +0000 |
commit | a711199d8c7b4bfa38ad2793ec1af36b1b2422b4 (patch) | |
tree | eae5caa9814979d4c86c69b8d8787f0c91b91255 /src/com/android/settings/development/transcode/TranscodeDisableCachePreferenceController.java | |
parent | 21eaa6d568cf85365359eb171c455b76f99b5e7d (diff) |
Avoid load icon and label in the background for periodic job
In the original design, BatteyEntry will load icon and label in the
background thread and cache them into memory, but we don't need such
information in the periodic fetching job. Add a method to disable it to
improve the performance and memory footprint.
Bug: 185207505
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: Iba759256e94159fce243ff4d700a8adf9e92f82c
Diffstat (limited to 'src/com/android/settings/development/transcode/TranscodeDisableCachePreferenceController.java')
0 files changed, 0 insertions, 0 deletions