From c00cf502630748dc5220e3a1ede95e2e2140efaa Mon Sep 17 00:00:00 2001 From: "Philip P. Moltmann" Date: Thu, 9 May 2019 15:01:42 -0700 Subject: [PATCH] [DO NOT MERGE] Remove --history from dumpsys appop Test: adb shell dumpsys appops --history adb shell dumpsys appops -h Fixes: 132233239 Change-Id: Ibe012c6c62b498a92e394a3d7aa255a97fa093ff --- .../core/java/com/android/server/appop/AppOpsService.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/services/core/java/com/android/server/appop/AppOpsService.java b/services/core/java/com/android/server/appop/AppOpsService.java index d04aa8931dca7..82a9168724bcd 100644 --- a/services/core/java/com/android/server/appop/AppOpsService.java +++ b/services/core/java/com/android/server/appop/AppOpsService.java @@ -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;