diff options
author | Soonil Nagarkar <sooniln@google.com> | 2020-11-06 11:46:16 -0800 |
---|---|---|
committer | Soonil Nagarkar <sooniln@google.com> | 2020-11-06 17:01:04 -0800 |
commit | ff147d5052979185b9d59feb432cdd32cf32f7c3 (patch) | |
tree | d5516a1c72e3ca6e1dbcd2362177093da85e90db /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 69f60a9090672cc3f47dd68ce8a34bc9a4b62c8e (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions