diff options
| author | 2022-08-21 03:17:33 +0000 | |
|---|---|---|
| committer | 2022-08-21 19:30:10 +0000 | |
| commit | 782f5aeb2bd98b2ea5ebddd49d89bca17c107912 (patch) | |
| tree | b203cc763f5e2740ea84cf7fe0c4f95f51c87bec | |
| parent | bf35df94f40881ab75cace744289ddd2b7c2bff7 (diff) | |
Fix the bug introduced in ag/19575369
The bug printed the wrong listener in the dump funtion.
BUG:240200048
Test: Manual
Change-Id: I6319cf04c430047ed3fc279e1b62dfe8c40a9b64
| -rw-r--r-- | services/core/java/com/android/server/appop/LegacyAppOpsServiceInterfaceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/appop/LegacyAppOpsServiceInterfaceImpl.java b/services/core/java/com/android/server/appop/LegacyAppOpsServiceInterfaceImpl.java index 5e4698f72a44..482f94a46e42 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(mOpModeWatchers.valueAt(i).toString()); + printWriter.println(modeChangedListenerSet.valueAt(j).toString()); } } } |