Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d021779 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

[DO NOT MERGE] Remove --history from dumpsys appop

am: c00cf502

Change-Id: I682a438545ca757955581f1a3e2455a7cf19a6f1
parents fa5abe1b c00cf502
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -3559,8 +3559,6 @@ public class AppOpsService extends IAppOpsService.Stub {
        pw.println("    Limit output to data associated with the given package name.");
        pw.println("  --watchers");
        pw.println("    Only output the watcher sections.");
        pw.println("  --history");
        pw.println("    Output the historical data.");
    }

    private void dumpStatesLocked(@NonNull PrintWriter pw, @NonNull Op op,
@@ -3696,8 +3694,6 @@ public class AppOpsService extends IAppOpsService.Stub {
                    }
                } else if ("--watchers".equals(arg)) {
                    dumpWatchers = true;
                } else if ("--history".equals(arg)) {
                    dumpHistory = true;
                } else if (arg.length() > 0 && arg.charAt(0) == '-'){
                    pw.println("Unknown option: " + arg);
                    return;