commit | 606f983e1790eda895fee6f1448a2a6fc01413c3 | [log] [tgz] |
---|---|---|
author | Zhen Zhang <zzhen@google.com> | Sun Jan 21 11:22:15 2024 -0600 |
committer | Zhen Zhang <zzhen@google.com> | Mon Jan 22 18:22:17 2024 -0600 |
tree | b63411435caadc7af35e3473f6946f7a13228173 | |
parent | adbdd7966081c536d0f489c689e122fcd60cc9d9 [diff] |
Use PowerExemptionManager API to exempt Kiosk app We used to using AppOps to exempt Kiosk app from background battery usage, but it turns out that NetworkPolicyManager does not respect the relevant AppOp mode. Using PowerExemptionManager API here can be effective for both Settings UI and NetworkPolicyManager. Fix: 320756156 Test: atest DeviceLockContorllerRoboTests Change-Id: Ic518debeb1da5dff9d5b317c5776ddcf9e87b093