summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorHall Liu <hallliu@google.com>2019-10-03 11:48:31 -0700
committerHall Liu <hallliu@google.com>2019-10-07 15:38:02 -0700
commit418e7798abfe6cb4f5b1cf93ebbf1fef9f567336 (patch)
treea9b77fcbd800701180a94672c216d278298abe99 /tools/aapt2/java/JavaClassGenerator.cpp
parente8bad137bbfd324d357e206b7f37c8c4fc881480 (diff)
Fix race in TelephonyScanManager
TelephonyScanManager may sometimes encounter a race condition where Telephony sends it the first scan result before it has saved the returned scan ID. This causes a crash in the app that's requesting the scan. To fix this, synchronize on mScanInfo while requesting the network scan so that the handler in TelephonyScanManager will wait for the scan ID to be saved before processing the first message from Telephony. Bug: 142068098 Test: manual Change-Id: I0b2b4c6dc749e21641843818293941704ed870a6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions