commit | b80bf4e74c732daeda02165fd4eac23b2a8f93d6 | [log] [tgz] |
---|---|---|
author | Adam Bookatz <bookatz@google.com> | Wed Apr 22 17:59:29 2020 -0700 |
committer | Adam Bookatz <bookatz@google.com> | Thu Apr 23 01:39:54 2020 +0000 |
tree | ee89ad56c9008cbb9aa04be6e8be411a40d0ad41 | |
parent | 3f8720b17fe4a57bd841db728940d2709973d599 [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 Test: compiles. And adb shell dumpsys appops still works. Change-Id: If098f70b386fdc420d970013e6fe9bcbb640ca4b