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

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

Fix ConcurrentModification with service observers

Ensure that when notifying stale observers, and calling their onChanged
methods, we iterate over a static list copy, as some observers (notably
service observers) remove themselves from the observer list in their
onChanged method.

Fixes: 146349140
Test: Navigate to the Permission settings tab, while some phone
permissions are granted to some apps. The Permission controller summary
should say "Apps using phone" (or include phone in a list of permisions)

Change-Id: I89c35b916ef1c4e00328d017ab82be0f04d95d9f
parent bba589ff
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