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

Skip to content
Commit 5f0aeff6 authored by Nate Myren's avatar Nate Myren
Browse files

Iterate over copy of packageBroadcastReceiver receivers

Ensure that we do not get a concurrentModificationException when
receiving a package added or removed broadcast, as this might cause a
concurrentModificationException as we iterate over the listeners. Also
posts all calls to add or remove listeners to the main thread.

Fixes: 154422428
Test: All screens continue to function as expected
Change-Id: I19e22f0d844e4d7f5433a3f11b1c03ad0fe0081c
parent 3dd0e425
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