summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2022-04-01 17:10:38 +0000
committer Kweku Adams <kwekua@google.com> 2022-04-01 17:10:38 +0000
commit2a7fae68969b7903a9bbcad91dcd7cf4eb9f53fb (patch)
tree15b392b5a21672f5bd5347457cd24d8f6cb69c00 /libs/androidfw/ResourceTimer.cpp
parent30deaa8bf85562a93bd0f18d2aa3e97174fede7f (diff)
Optimize isAppIdle.
getAppMinBucket() can sometimes be expensive, so don't call it unless we're looking at an app that actually may be idle. Bug: 218911497 Test: atest AppStandbyControllerTests Change-Id: I29da7198d08c7cae29e2e7e45d945f9da9085ccb
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions