commit | 41689d7ece8db1cbac33f9613040fa08237b79b4 | [log] [tgz] |
---|---|---|
author | Jack He <siyuanh@google.com> | Fri May 05 15:34:14 2017 -0700 |
committer | Jack He <siyuanh@google.com> | Wed May 31 15:45:31 2017 -0700 |
tree | 6311ada658f1a3611f3e394fa0e4103b7ffc188a | |
parent | fd12816a6e1c83252852be9fe49afd2af25e7fb9 [diff] |
HFP: Allow SCO audio to be forcibly connected * Normally, Android only allows SCO audio to be connected in several allowed cases (e.g. in call, in ringing, in virtual call state, etc) * Sometimes, it is necessary to force a SCO audio connection (e.g. during PTS test) * This change adds setForceScoAudio(boolean) hidden, system only method to allow such behaviour Bug: 38040125 Test: PTS HFP tests Change-Id: Iab6bca8ec437d04804d61c169f570c1966d164c1