summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jing Ji <jji@google.com> 2021-12-27 12:50:13 -0800
committer Jing Ji <jji@google.com> 2022-01-25 14:33:21 -0800
commit8a3b17f0563ca9f89b0f9eba5e57568f9d8ea200 (patch)
treebe6bc43fe15ad119b9d6c06b21e4f2cee99a81ee /libs/androidfw/StringPool.cpp
parent64ac1a923065d38fa33789b315c716f4c93312fc (diff)
Add exemption cases for app background restrictions
For the high background current drains and long-running FGS, exempt idle allowlisted apps, companion device apps, device owner apps, etc. Additionally, we're also exempting/setting a higher threshold for the apps with long-running media sessions, media/location FGS, bg location permissions. Meanwhile, the durations that apps spent on TOP state will be excluded from all these accounting. BYPASS_INCLUSIVE_LANGUAGE_REASON=Legacy API name Bug: 200326767 Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest Change-Id: Ie22cd011679dcb70612cf740fa3e6dec9f1299d0
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions