diff options
| author | Jing Ji <jji@google.com> | 2022-02-07 20:19:11 -0800 |
|---|---|---|
| committer | Jing Ji <jji@google.com> | 2022-02-08 22:46:45 -0800 |
| commit | 4838c7cac9641f2b88997bdef6e011f2e98cb74c (patch) | |
| tree | 2cdcee2d95b4fb7aac0f9f9971d5701e957076aa /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 8ddcda8bec75dae7edefddab07d3e636d96ca393 (diff) | |
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
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
