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

Skip to content
Commit ff147d50 authored by Soonil Nagarkar's avatar Soonil Nagarkar
Browse files

DO NOT MERGE Prevent isEnabled from mutating state

When isEnabled sees a user it has not encountered before it may send out
client updates, which can result in the client list and associated state
being mutated unexpectedly, causing ConcurrentModificationExceptions. In
order to prevent this, we now mutate the state asynchronously.

Bug: 171910679
Test: unable to verify this manually, as this is a near impossible bug
to reproduce intentionally

Change-Id: I64ccdcdd50294b875d4ed22de60bff0823812ad7
parent 69f60a90
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