commit | 02ac0b626be2f76a466c6964c3bf4c441726d7b5 | [log] [tgz] |
---|---|---|
author | jackqdyulei <jackqdyulei@google.com> | Wed Oct 10 14:21:08 2018 -0700 |
committer | jackqdyulei <jackqdyulei@google.com> | Wed Oct 10 14:21:08 2018 -0700 |
tree | 7668f0efcb69dace54e496b4a2c05cf645692e26 | |
parent | d1bbfbe90f3ec08e7da3dae46ef7e9e0f190dfe5 [diff] |
Change to SynchronizedList to fix exception. In systemui, it use multithread to access LocalBluetoothManager, so we need to use synchronizedList to remove ConcurrentModificationException. In b/116662744, we will refactor multi-thread synchronization once hearing aid refactor is done. Bug: 117122392 Test: Manual Change-Id: I50cc09c2ed9631072ed6aff13585fda116dc02de