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
This commit is contained in:
@@ -545,7 +545,7 @@ public class ManageApplications extends InstrumentedFragment
|
||||
startAppInfoFragment(AppStorageSettings.class, R.string.storage_settings);
|
||||
break;
|
||||
case LIST_TYPE_HIGH_POWER:
|
||||
HighPowerDetail.show(this, mCurrentPkgName, INSTALLED_APP_DETAILS);
|
||||
HighPowerDetail.show(this, mCurrentUid, mCurrentPkgName, INSTALLED_APP_DETAILS);
|
||||
break;
|
||||
case LIST_TYPE_OVERLAY:
|
||||
startAppInfoFragment(DrawOverlayDetails.class, R.string.overlay_settings);
|
||||
|
Reference in New Issue
Block a user