diff options
author | Nitin Shivpure <quic_nshivpur@quicinc.com> | 2022-05-24 11:19:15 +0530 |
---|---|---|
committer | Nitin Shivpure <quic_nshivpur@quicinc.com> | 2022-05-30 12:19:55 +0530 |
commit | a689ecba8e64e897fd2afa80a1a77bc4b2a23f27 (patch) | |
tree | a9d77bafda479f81848ffe059d8cd17ee831d850 /framework/java/android/bluetooth/BluetoothServerSocket.java | |
parent | 069e285284101391a6c2112620ccd700af8ecd71 (diff) |
Bluetooth: Fix BT on failure during BT ON/OFF stress test
RCA:
if MESSAGE_ENABLE is received & there is already a pending
MESSAGE_ENABLE or MESSAGE_DISABLE in Handler queue, then
isBle flag is not properly handled while requeuing the
MESSAGE_ENABLE OR MESSAGE_DISABLE, which is causing BT ON failure
during BT ON/OFF stress test
Fix:
- If MESSAGE_ENABLE is received & there is already a pending
MESSAGE_ENABLE or MESSAGE_DISABLE in Handler queue, then
Handling isBle flag properly while requeuing the MESSAGE_ENABLE
or MESSAGE_DISABLE.
- If MESSAGE_DISABLE is received & there is already a pending
MESSAGE_ENABLE in Handler queue, then isBle value is set based on
mExternalEnable while requeuing the MESSAGE_ENABLE.
CRs-Fixed: 3201863
Change-Id: I010b01c106a7dbcb0f194557e719c90c67842b25
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothServerSocket.java')
0 files changed, 0 insertions, 0 deletions