commit | 1a2c1e97d203bd8e635104c72abdba16944ee3b6 | [log] [tgz] |
---|---|---|
author | Dorin Drimus <dorindrimus@google.com> | Tue Feb 16 16:54:14 2021 +0100 |
committer | Dorin Drimus <dorindrimus@google.com> | Tue Feb 16 18:25:45 2021 +0000 |
tree | fad482959f181cc761fd2342274f82e2f1cbf40f | |
parent | c9e4f1c22d80b6399c2080b4fe45de8323618f23 [diff] |
Fully synchronize access to gatt connections java.util.ConcurrentModificationException could be thrown when accessing mConnections using an iterator. To prevent this, fully guard synchronize access to it and also make it private to avoid unsynchronized external access. Tag: #stability Bug: 178334266 Test: manual, build ADT3 on internal repo and connected remote Change-Id: Idb14c7e5aeab076db765aca88b1067148f35ec81