summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.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-09 13:41:51 -0700
commit8718323a765a50721425259ebaf5a7bfcbe14273 (patch)
tree2074e18d5f5e82907d89acb22340c649cf13e271 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5811f47755c7c6663ee57b9a1f5c91c78290c02c (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_test.cpp')
0 files changed, 0 insertions, 0 deletions