diff options
author | Chalard Jean <jchalard@google.com> | 2018-05-23 09:07:51 +0900 |
---|---|---|
committer | Chalard Jean <jchalard@google.com> | 2018-06-06 08:25:19 +0000 |
commit | 6d89a786c09d01488e4505305d203dd9c0b7001a (patch) | |
tree | 85fd70e35a0fb0bc5cf4766673c6756de1d9fa84 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3bd570585717624c0387a13a5f82bff89d41856d (diff) |
Fix a ConcurrentModificationException crash.
This is a pinpoint fix against the bug listed below. While a client
is synchronously reading the LinkProperties of a network, the
ConnectivityServiceThread is updating its properties. Make sure
that update is done atomically.
This is a stopgap countermeasure against a problem that is
pervasive with usage of LinkProperties, but fixing the problem
itself will happen later.
Clean cherry-pick of ag/4174798
Bug: 80077223
Test: runtest frameworks-net
Change-Id: I61b262d824c98b4ced36395a597b73de9193a199
Merged-In: I25007ac26349e451bb47f966af70d590d699c347
Merged-In: I03526187645b6955eb89ca4d2e4a930ebac236b8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions