summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSeulki Shin <slki.shin@samsung.com>2020-03-27 14:05:16 -0700
committerEric Laurent <elaurent@google.com>2020-03-31 17:59:32 -0700
commitfeb9b89705b7705c3dd74bb630ad95679547d8ce (patch)
treed056f04e58f82eaff578c140f71acaec581d539b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8a45b9697226626d36dc4f00b4f5e23fadb036ad (diff)
audioservice: fix not able to disconnect VoIP call
startBluetoothSco() is not safe enough from subseqent method call which was found on the Wechat. For instance, VoIP call will not be terminated properly in the following call flows: startBluetoothSco() (-> incCount) -> startBluetoothSco() (-> incCount) -> stopBluetoothSco() (-> decCount) -> at this point, it cannot reached to disconnectBluetoothScoAudioHelper() due to mStartCount is not 0 from requestScoState() To fix this, mStartCount was removed because it's usage is unclear. Also incCount, decCount was removed because it makes difficult to understand what the purpose of those functions from their name. Bug: 150312620 Test: manual test cell and VoIP calls with BT SCO HS. Change-Id: Iabc44795b8a87c10b00d84c67de9938bef385841 Signed-off-by: slki.shin <slki.shin@samsung.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions