commit | e651803981b8ee67bf0a49fcfe1fd0957e84fb10 | [log] [tgz] |
---|---|---|
author | Adam Bookatz <bookatz@google.com> | Wed Apr 22 17:59:29 2020 -0700 |
committer | Adam Bookatz <bookatz@google.com> | Tue May 12 10:19:15 2020 -0700 |
tree | 052f16950d305603ea582c72b72603d730d066d1 | |
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