OSDN Git Service

Handle SLC in MultiHFPending state
authorMallikarjuna GB <gbmalli@codeaurora.org>
Thu, 4 Jun 2015 11:29:39 +0000 (16:59 +0530)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 5 Jun 2015 01:12:53 +0000 (01:12 +0000)
commitacc99899ec1c747365d7568a2fe53f53dfc3593f
treeefdd225849f805d0bf878ff5c4873a157efda562
parent6455f2788e2d67c7a7ffa79b94269af06473bc0b
Handle SLC in MultiHFPending state

Use case:
Connect 2 headsets one after another in quick
succession.

Failure:
SLC for first headset is not happening.

Root cause:
SLC for first headset is not handled when second
headset is connecting.

Fix:
Add handling for SLC event for HS1 in MultiHFPending state.

Change-Id: If0c2553c28e233bea4622fca10c94fddd913afa7
src/com/android/bluetooth/hfp/HeadsetStateMachine.java