diff options
author | Satish Kodishala <skodisha@codeaurora.org> | 2019-07-25 10:52:18 +0530 |
---|---|---|
committer | Satish Kodishala <skodisha@codeaurora.org> | 2019-07-25 12:03:41 +0530 |
commit | 8df029ee93fb6eba26d8d95e92e2116bea6311eb (patch) | |
tree | bd12d3dd24eb078b3aac656156b798ff2dafd019 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ccb0441e1ea12706e9b6c2142689415b7c6943fb (diff) |
Don't honor startBluetoothSco/stopBluetoothSco when BT is OFF
When VOIP app calls startBluetoothSco during BT OFF,
mScoAudioState is set to SCO_STATE_ACTIVATE_REQ and count is
incremented by 1. However, when onServiceConnected for
HeadsetService gets called during BT turn ON, mScoAudioState is
reset to 0 but count is still 1. This leads to subsequent
startBluetoothSco requests to fail. Don't honor
startBluetoothSco/stopBluetoothSco when BT is OFF.
CRs-Fixed: 2490082
Change-Id: Ida3a0548a5cadd47194d4a024f8322177e794d05
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions