commit | dd8b54125be46b3e02f59e35f1e1a5717e146585 | [log] [tgz] |
---|---|---|
author | Angela Wang <angelala@google.com> | Fri Jul 21 07:06:00 2023 +0000 |
committer | Angela Wang <angelala@google.com> | Fri Aug 04 03:02:17 2023 +0000 |
tree | 519c05a508a129abf50035e618983952d7e5607b | |
parent | 852e73de771478aed89a9718630c2315da176c44 [diff] |
Fix crash when unpairing a device which supports CSIP When unpairing a device from settings page, it'll cause ConcurrentModificationException if the device has CSIP set size > 1. Iterate the cloned member devices set instead of the original one to prevent crashing. Bug: 292190538 Test: unpair a device with 2 members and verify no crash happend Change-Id: Iaed76612d03a05f31e24ce8ae5b25879d7721e6a (cherry picked from commit f7077d90fa859ed52a982f81e5758fa7d53d6e9a)