summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Junyu Lai <junyulai@google.com> 2021-07-14 06:44:37 +0000
committer Junyu Lai <junyulai@google.com> 2021-07-26 09:16:35 +0000
commit14946edca3a2ddb89c7bb23eeb0d1d48dd59d243 (patch)
treed105c1d097d75b1bdfde0670ab78522cfc7c84f6 /libs/androidfw/AttributeResolution.cpp
parent35362a9dc157993c509a8beb68707b2ca0761ec5 (diff)
Fix mMobileIfaces is not protected by lock
Currently, mMobileIfaces is accessed from multiple threads, and should be protected from concurrent accessing. However, since the variable could be accessed frequently, holding the mStatsLock would make this be blocked by network stats I/O operations. Thus, protect the variable by making it volatile. Test: Wifi on/off stress test Bug: 192758557 Change-Id: Ie7694a63f5203ee7c83830ca13d97219b7949fd7
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions