summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSoonil Nagarkar <sooniln@google.com>2020-11-06 11:46:16 -0800
committerSoonil Nagarkar <sooniln@google.com>2020-11-06 17:01:04 -0800
commitff147d5052979185b9d59feb432cdd32cf32f7c3 (patch)
treed5516a1c72e3ca6e1dbcd2362177093da85e90db /tools/aapt2/java/JavaClassGenerator_test.cpp
parent69f60a9090672cc3f47dd68ce8a34bc9a4b62c8e (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