diff options
| author | Jing Ji <jji@google.com> | 2022-03-16 00:53:51 -0700 |
|---|---|---|
| committer | Jing Ji <jji@google.com> | 2022-03-17 22:19:33 -0700 |
| commit | 7f1f56b04b6c7594d47454cbfbc44c248c2e44c0 (patch) | |
| tree | 6749d225429e791df04ea1f6177f95dcc91760cf /core/java/android/widget/TextView.java | |
| parent | 7c722ca403d61bf866574d1675926e190b48f21e (diff) | |
Add support to exempt the battery usage with visible FGS notifications
If an app has a FGS with visible notifications, its battery usage during
that would be excluded from the background battery usage accounting
for the background restrictions.
Bug: 203105544
Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest
Change-Id: I15545ce44170149cb0f7d1470542ae4656f64bb5
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions
