summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorSatish Kodishala <skodisha@codeaurora.org>2019-07-25 10:52:18 +0530
committerSatish Kumar Kodishala <skodisha@codeaurora.org>2019-08-13 17:42:33 +0000
commit424eeadb9f83093f8cef1449a63beaeb87bfac81 (patch)
tree9cade1cd221345eb1afc83dd241810c6bb09d252 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parenta5bd0c97d1e431eca4c9e1e0cbbf6c64e488edb0 (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 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions