diff options
author | Adam Bookatz <bookatz@google.com> | 2020-04-22 17:59:29 -0700 |
---|---|---|
committer | Adam Bookatz <bookatz@google.com> | 2020-05-12 10:19:15 -0700 |
commit | e651803981b8ee67bf0a49fcfe1fd0957e84fb10 (patch) | |
tree | 052f16950d305603ea582c72b72603d730d066d1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c13f012cc5f313cecc3d59d10650ac35990bf7aa (diff) |
AppOpsService.dump() over-used iterator fix
The dump() was using the variable i in both the
inner and outer loop, causing the list of watchers
that were dumped() to be incorrect (and, in unlucky cases,
never-ending).
Bug: 152023451
Bug: 151193211
Bug: 156230006
Test: compiles. And adb shell dumpsys appops still works.
Change-Id: If098f70b386fdc420d970013e6fe9bcbb640ca4b
Merged-In: If098f70b386fdc420d970013e6fe9bcbb640ca4b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions