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 (cherry picked from commit 6f837517) Merged-In: I83fa969204d8a9c6ac7bae40f5be57a92813f6be
Loading
Please register or sign in to comment