diff options
| author | 2022-01-14 11:50:51 -0800 | |
|---|---|---|
| committer | 2022-01-25 15:23:26 -0800 | |
| commit | 7271a9845b747b2c9396c16e25615dece25a0791 (patch) | |
| tree | f2a8eff66a923cd5639dd9a7fd0174e792182d33 /libs/androidfw/StringPool.cpp | |
| parent | ccaf79d27b15a8d4032169c2210d01e5771b972b (diff) | |
Exempt certain app behaviors for their background battery usage
If the app is hosting media playback or location foreground services,
or has active media session, the background battery usage during that
will be excluded from the abusive background battery usage monitoring.
Bug: 200326767
Bug: 203105544
Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest
Change-Id: I7ddeffe3490608ee3f005af6f4722270756085a3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions