summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jing Ji <jji@google.com> 2022-05-05 23:37:03 -0700
committer Jing Ji <jji@google.com> 2022-05-06 17:50:27 -0700
commitd576379b7da5b396e712505515a68478e095028f (patch)
treebf84a698ae2839cac4d1a24243288334c3fa2697 /libs/androidfw/StringPool.cpp
parenta7f5aa5be73ed0325b82e3b3eddfa6d3dfee036c (diff)
Don't auto move into restricted bucket if there's a recent interaction
Adding a grace period here, which is, if the app background battery usage goes beyond the threshold, but the user interacts with it recently, don't move it to the restricted bucket level automatically. If it continues to drain the battery in the background after certain amount of time, it'll be restricted still. Bug: 203105544 Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest Change-Id: I8c86b399d3336e1fd71fcdfa25a93d1a6cd5c75f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions