commit | 9f730a8307c148b7bb542da72697447660a351b4 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Feb 04 10:53:37 2021 -0800 |
committer | Kweku Adams <kwekua@google.com> | Tue Feb 16 09:09:08 2021 -0800 |
tree | cd6ee303cef7bd040c49e4876fb8d28c06397df1 | |
parent | d014bb7414fbe235f04560ce26862ff397d978e8 [diff] |
Introduce BATTERY_PREDICTION permission. DEVICE_POWER is very powerful, so introduce the BATTERY_PREDICTION permission to allow privileged apps with the permission to provide the system with battery predictions. Bug: 139413884 Test: atest android.os.cts.PowerManagerTest Test: atest android.permission.cts.PowerManagerServicePermissionTest Test: atest CtsPermission2TestCases Test: atest SettingsProviderTest Change-Id: Ib52f20b5145785a5fc363601757ad9c57f40e254