Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4838c7ca authored by Jing Ji's avatar Jing Ji
Browse files

Exclude the bg battery usage for apps with access to fine location

If an app has the permission ACCESS_FINE_LOCATION granted, its
background battery usage during that wil be excluded from its overall
background battery usage in AppBatteryTracker.

Also turning OFF the exemption for apps with ACCESS_BACKGROUND_LOCATION
only, as this doesn't mean it has access to locations.

Bug: 200326767
Bug: 203105544
Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest
Change-Id: Ibbd6dbb555c34c1839be6d21c62de00012832de6
parent 8ddcda8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment