am 8f1ea834: Handle the -a flag for dumpsys appops.
* commit '8f1ea834f9af5ccf6cea1f529f63e727cd13b6a8': Handle the -a flag for dumpsys appops.
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