diff options
| author | 2022-03-14 22:30:36 -0700 | |
|---|---|---|
| committer | 2022-03-16 01:59:21 -0700 | |
| commit | 393f3b529f26c88b3470c3a61cc82748251f300b (patch) | |
| tree | 22ff4bd9f87aef4ca2f3232941ea42b846d0e0d6 /libs/androidfw/StringPool.cpp | |
| parent | 7c722ca403d61bf866574d1675926e190b48f21e (diff) | |
Add bg exemption tracks for foreground only permissions
...by monitoring their app ops.
Previously we're exempting the bg battery usage if certain permissions
are granted. Yet for the foreground only permissions, we should also
check if their app ops are allowed or not - this is evaluated by their
proc state.
Bug: 203105544
Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest
Test: Manual - launch camera/maps & check dumpsys activity -a
Change-Id: I8fb99e6c9ad054096a889bea4e53230c7361434e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions