summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBandari Ramesh <ramban@codeaurora.org>2018-05-17 11:54:53 +0530
committervenkata Jagadeesh garaga <vgaraga@codeaurora.org>2020-03-20 06:30:15 +0000
commitc3b039949841f7cacbc21a57f6b3b8f0e62013f0 (patch)
tree43eb8eed1c4bdc6416c20679b3d2fe1667e4bd0e /tools/aapt2/java/JavaClassGenerator_test.cpp
parentcfec6768b536ec28f41a3483d2d059ebfbffc056 (diff)
BT: Added bind retry logic to handle race condition in Bluetooth off/on
Issue: BT turn on not happening after network reset Turn on Location from Settings Steps: 1.Turn off BT 2.Turn ON BT 3.Do Network Reset Repeat steps 1 to 3 Observed Result: BT turn on not happening after network reset Expected Result: BT turn on should be successful network reset Root Cause: After network reset, BT turned off and Bluetoothmanagerservice waiting with 400ms delay to restart Bluetooth. But GMS APP triggering enableble, hence bluetoothmanagerservice tried to bind to Adapterservice before previous bluetooth process exited, its leading bind timeout and BT did not turn on. Fix: - Added bind retry logic to handle race condition in Bluetooth off/on - Reset retry flag after 1 retry so that next enable from user will try bind 2 times. CRs-Fixed: 2640422 Change-Id: I0f487fa3629cc7b20a8c4e25526e1b328ebd6393
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions