OSDN Git Service

android/handsfree: Improve audio connection handling
authorSzymon Janc <szymon.janc@tieto.com>
Wed, 19 Mar 2014 07:25:25 +0000 (08:25 +0100)
committerSzymon Janc <szymon.janc@tieto.com>
Thu, 20 Mar 2014 12:35:24 +0000 (13:35 +0100)
commit00138d547e37ebe7aecccdb5bd779744835657db
tree98a30a04d643bf8661e5c9c6098fd8705f1d8783
parent3c2dbb61909cfd676f7d3e97c55dd04e4b94fccb
android/handsfree: Improve audio connection handling

This add disconnecting SCO if last call was dropped (required by
Java 'virtual voice call'). Also make sure that SCO is connected
only there were no calls present before phone state change. This
makes sure SCO won't be re-connected in three way calling scenarios
when user choose to not use audio on BT headset.
android/handsfree.c