Skip to content
Commit c6f61ee9 authored by Steve Elliott's avatar Steve Elliott
Browse files

Defensively copy callback collections before invoking

This is done in order to prevent ConcurrentModificationExceptions,
caused by the callback unregistering itself when invoked. The pattern
used by this CL is also used by StatusBarStateControllerImpl.

Fixes: 192192372
Test: manual
Change-Id: Ibac2282d5c9242ae063adb2247d4297291fa3abf
Merged-In: Ibac2282d5c9242ae063adb2247d4297291fa3abf
parent a40b1cb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment