OSDN Git Service

Unrestricting app when put on power whitelist
authorSuprabh Shukla <suprabh@google.com>
Fri, 11 May 2018 03:11:26 +0000 (20:11 -0700)
committerSuprabh Shukla <suprabh@google.com>
Fri, 11 May 2018 21:00:28 +0000 (14:00 -0700)
commit0f447022cf8808ae3879547b326a97d4d0296b99
treedf95df1c8011aab6cee73f5d026c6431e9c3c833
parente30007dcc0ea2fab5c81cb73cbec2f3008a03e39
Unrestricting app when put on power whitelist

Power whitelisting and background restrictions are opposing rules, so to
keep apps out of confusing states, unrestricting an app whenever it is
put on the power whitelist.

Test: atest RunSettingsRoboTests:HighPowerDetailTest

Bug: 77924141
Change-Id: I4952ac6c893bc7e98aa1b6ad3a86906fc299dea5
res/values/strings.xml
src/com/android/settings/applications/manageapplications/ManageApplications.java
src/com/android/settings/fuelgauge/HighPowerDetail.java
tests/robotests/src/com/android/settings/fuelgauge/HighPowerDetailTest.java