Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 881d91fe authored by Kyunglyul Hyun's avatar Kyunglyul Hyun
Browse files

Prevent CME by using CopyOnWriteArraySet

A thread enumerating trackers could be
different form a therad adding/removing a tracker.
By using CopyOnWriteArraySet, we can prevent
ConcurrentModificationException.

Bug: 312945444
Flag: EXTEMPT, no logical changes
Test: atest DistanceMeasurementManagerTest --iterations 200
Change-Id: I67c07a13aee08e7a0ac35c9c250c7700dfcb56cd
parent 115e5865
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment