summaryrefslogtreecommitdiff
path: root/tools/bit/command.cpp
diff options
context:
space:
mode:
author Sergey Nikolaienkov <sergeynv@google.com> 2022-02-18 11:25:42 +0100
committer Sergey Nikolaienkov <sergeynv@google.com> 2022-02-18 13:55:32 +0000
commita2d34f4f058ccaabf64e3e35a97df3e24c0e2939 (patch)
tree984f82d36559f8713fe76a085e412425191b6619 /tools/bit/command.cpp
parent4d897c6ad0f07d78765c67424c61f9521be4f28a (diff)
Return a copy of the "real" set in AssociationStore
Return a copy of the "real" set AssociationSet from AssociationStoreImpl.getAssociations(), which fixes ConcurrentModificationException-s that arise if a direct reference to the mIdMap.values() collection is returned. Bug: 220018043 Test: atest CtsCompanionDeviceManagerCoreTestCases Test: atest CtsCompanionDeviceManagerUiAutomationTestCases Test: manually install companion app, create a CDM Association with a BLE companion device, uninstall the app. Change-Id: Ie0ecab7fe61923ecef1541cb9f6450742c4b83b2
Diffstat (limited to 'tools/bit/command.cpp')
0 files changed, 0 insertions, 0 deletions