Add intent filter to launch usage access for app.
Change-Id: Ide8aa590f9b4218d0f4affe65a7daec384480798 Fixes: 110200770 Test: adb shell am start -a android.settings.USAGE_ACCESS_SETTINGS -d package:com.android.settings
This commit is contained in:
@@ -510,7 +510,7 @@ public class AppStorageSettings extends AppInfoWithHeader
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
mButtonsPref.setButton1Enabled(false);
|
||||
//force to recompute changed value
|
||||
setIntentAndFinish(false, false);
|
||||
setIntentAndFinish(false /* appChanged */);
|
||||
}
|
||||
})
|
||||
.create();
|
||||
|
||||
Reference in New Issue
Block a user