diff options
| author | 2022-07-26 15:24:16 -0700 | |
|---|---|---|
| committer | 2022-07-28 10:52:24 -0700 | |
| commit | 6f837517a2a9106deac7bb076db1cf78f72e0438 (patch) | |
| tree | a9d60a3e37cae4e7471d9e665bc074c9548d0cff /libs/androidfw/StringPool.cpp | |
| parent | d4384a5ff2c9621e2f89f20454c71914f88677d0 (diff) | |
Prevent modifying mAudioPolicies during iteration
Calling release on a policy from mAudioPolicies removes a key from the
map, causing a ConcurrentHashException.
Defer releases till after iteration completes.
Test: Compiles
Bug: 240314224
Change-Id: I83fa969204d8a9c6ac7bae40f5be57a92813f6be
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions