commit | 640011569f3f96bd3ac18dda275e2e842f0e2510 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Wed Mar 17 16:46:33 2021 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Tue Mar 30 14:42:33 2021 -0700 |
tree | ef40fbbd93e75daac5bd0be19bb3ba2a0529088e | |
parent | 3e20c3e9a10bfbc19347dbdf57b7898e7a8a332a [diff] |
Camera: Fix a removal-while-iterate bug The onStatusChangedLocked removes entries from the ArrayMap. Needs to iterate in the reverse order. Test: Vendor testing Bug: 182876702 Change-Id: I5891f24a25c83f096d23ca5675126889a7d2a61c