Fix the bug introduced in ag/19575369

The bug printed the wrong listener in the dump funtion.

BUG:240200048

Test: Manual
Change-Id: I6319cf04c430047ed3fc279e1b62dfe8c40a9b64
This commit is contained in:
Pyuli Naithani
2022-08-21 03:17:33 +00:00
parent bf35df94f4
commit 782f5aeb2b

View File

@@ -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());
}
}
}