From 694f5ad4d1d8fbd583ecd17dd2b494f01e1696b8 Mon Sep 17 00:00:00 2001 From: Pyuli Naithani Date: Mon, 22 Aug 2022 05:16:03 +0000 Subject: [PATCH] Revert "Fix the bug introduced in ag/19575369" This reverts commit 782f5aeb2bd98b2ea5ebddd49d89bca17c107912. Reason for revert: stopping revert of culprit of b/243320125 Change-Id: I2c14edddf794084226cbecd3b6a56e7ea1ba8d1e --- .../android/server/appop/LegacyAppOpsServiceInterfaceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/appop/LegacyAppOpsServiceInterfaceImpl.java b/services/core/java/com/android/server/appop/LegacyAppOpsServiceInterfaceImpl.java index 482f94a46e426..5e4698f72a44b 100644 --- a/services/core/java/com/android/server/appop/LegacyAppOpsServiceInterfaceImpl.java +++ b/services/core/java/com/android/server/appop/LegacyAppOpsServiceInterfaceImpl.java @@ -568,7 +568,7 @@ public class LegacyAppOpsServiceInterfaceImpl implements AppOpsServiceInterface printedOpHeader = true; } printWriter.print(" #"); printWriter.print(j); printWriter.print(": "); - printWriter.println(modeChangedListenerSet.valueAt(j).toString()); + printWriter.println(mOpModeWatchers.valueAt(i).toString()); } } }