Handle the -a flag for dumpsys appops.
Bug: 23017449 Change-Id: I6ce9ac368e2739153867c246893eb544d052834f
This commit is contained in:
@@ -1569,6 +1569,8 @@ public class AppOpsService extends IAppOpsService.Stub {
|
|||||||
if ("-h".equals(arg)) {
|
if ("-h".equals(arg)) {
|
||||||
dumpHelp(pw);
|
dumpHelp(pw);
|
||||||
return;
|
return;
|
||||||
|
} else if ("-a".equals(arg)) {
|
||||||
|
// dump all data
|
||||||
} else if ("write-settings".equals(arg)) {
|
} else if ("write-settings".equals(arg)) {
|
||||||
long token = Binder.clearCallingIdentity();
|
long token = Binder.clearCallingIdentity();
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user