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

Commit 283159d1 authored by Michael W's avatar Michael W
Browse files

SystemUI: KeyGuardMonitor: Prevent ConcurrentModificationException

* Instead of accessing the original ArrayList, which might be modified
  while processing the loop, create a copy of the list and work with that
  one
* This ensures that no exception is thrown when some other part unregisters
  its listener while the list is already being processed

BUGBASH-1289

Change-Id: Ie8404d88c7c87c4ec8fcd64fdd5218b25806f24f
parent 612b8472
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