commit | 1dd1e03f1f025129c8376b94725b5f98b0fa3070 | [log] [tgz] |
---|---|---|
author | Jack He <siyuanh@google.com> | Tue May 09 17:16:01 2017 -0700 |
committer | Jack He <siyuanh@google.com> | Wed May 31 15:41:30 2017 -0700 |
tree | dbc985301e2d96c80aaf6eec3556f779c66cd3ff | |
parent | 36fdb346f2245ca235b0fbde90b7da60606d54e5 [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: I28f295c98da5bebb837c2a5423c7acde81af73f7