diff options
author | Raff Tsai <rafftsai@google.com> | 2019-09-04 15:08:57 +0800 |
---|---|---|
committer | Raff Tsai <rafftsai@google.com> | 2019-09-04 15:17:27 +0800 |
commit | 19c2bbccfd34af8cd305b7416f4a64632f461b8b (patch) | |
tree | 953364b3d1e975a3e865804ef096728b619aef99 /libs/hwui/renderthread/CacheManager.cpp | |
parent | 87617a9b164ed036a57f0c62154d5880ef781ea9 (diff) |
Fix Battery optimization takes long time
isDefaultActiveApp is called on every package. We can cache default
dialer and default sms package in a list, and check if the list
contains target package name.
Fixes: 140279638
Test: manual, make RunSettingsLibRoboTests
Change-Id: I81f5ccb7aed1ebec797a21af6094971e05f456a7
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions