diff options
author | Satish Kodishala <skodisha@codeaurora.org> | 2018-03-29 13:13:47 +0530 |
---|---|---|
committer | Nagashree S <nagashre@codeaurora.org> | 2018-05-15 15:43:43 +0530 |
commit | 2d39d31712660946a174d7bdfeefb10727dd30d7 (patch) | |
tree | a018bc230c898c6b63392a1b51c0d797f126f726 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 5ca67e448a34b3df52d1038ed74f90e34b433bbf (diff) |
HFP: Limiting the mStartcount to 1 for each mScoClient
Some of the VOIP applications call startBluetoothSco()
multiple times. This inturn increments the mStartcount
for each mScoClient. But while the call is terminated,
VOIP applications call stopBluetoothSco() only once.
this results in SCO being still present.
To avoid this issue, the mStartcount value is limited
to 1 even if the application calls startBluetoothSco()
multiple times. Also when the mStartcount reaches 1,
it calls setBluetoothScoOn(true) from the system
context for correct SCO device selection.
Adding logs in some of APIs in files AudioManager
and AudioService for more clarity and analysis
purpose.
CRs-Fixed: 2197250
Change-Id: I2ac759db91087710ac98b27a702059ce8dd0cb1d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions