diff options
author | Eric Laurent <elaurent@google.com> | 2010-03-18 12:38:54 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2010-03-18 18:18:48 -0700 |
commit | c04cfa35968783f5af007db95680f0087201d9ea (patch) | |
tree | 8d4cd35639a00829ddb0249aa463749b9a1256ba /api | |
parent | 7942b33e8905bbc177ff3c92596404530c860bcd (diff) | |
download | frameworks_base-c04cfa35968783f5af007db95680f0087201d9ea.zip frameworks_base-c04cfa35968783f5af007db95680f0087201d9ea.tar.gz frameworks_base-c04cfa35968783f5af007db95680f0087201d9ea.tar.bz2 |
Unhide AudioManager API to control bluetooth SCO audio connection.
Needed for issue 2416481 in order to allow unbundled applications to play and record
audio to/from a bluetooth SCO headset while not in call.
Change-Id: Ie1f96ded991e65da538c2c4a58bfa1e548d58a01
Diffstat (limited to 'api')
-rw-r--r-- | api/current.xml | 90 |
1 files changed, 89 insertions, 1 deletions
diff --git a/api/current.xml b/api/current.xml index d3e673e..64f0c23 100644 --- a/api/current.xml +++ b/api/current.xml @@ -80540,6 +80540,17 @@ visibility="public" > </method> +<method name="isBluetoothScoAvailableOffCall" + return="boolean" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> <method name="isBluetoothScoOn" return="boolean" abstract="false" @@ -80860,6 +80871,28 @@ <parameter name="vibrateType" type="int"> </parameter> </method> +<method name="startBluetoothSco" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> +<method name="stopBluetoothSco" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> <method name="unloadSoundEffects" return="void" abstract="false" @@ -80895,6 +80928,17 @@ visibility="public" > </field> +<field name="ACTION_SCO_AUDIO_STATE_CHANGED" + type="java.lang.String" + transient="false" + volatile="false" + value=""android.media.SCO_AUDIO_STATE_CHANGED"" + static="true" + final="true" + deprecated="not deprecated" + visibility="public" +> +</field> <field name="ADJUST_LOWER" type="int" transient="false" @@ -81005,6 +81049,17 @@ visibility="public" > </field> +<field name="EXTRA_SCO_AUDIO_STATE" + type="java.lang.String" + transient="false" + volatile="false" + value=""android.media.extra.SCO_AUDIO_STATE"" + static="true" + final="true" + deprecated="not deprecated" + visibility="public" +> +</field> <field name="EXTRA_VIBRATE_SETTING" type="java.lang.String" transient="false" @@ -81368,6 +81423,39 @@ visibility="public" > </field> +<field name="SCO_AUDIO_STATE_CONNECTED" + type="int" + transient="false" + volatile="false" + value="1" + static="true" + final="true" + deprecated="not deprecated" + visibility="public" +> +</field> +<field name="SCO_AUDIO_STATE_DISCONNECTED" + type="int" + transient="false" + volatile="false" + value="0" + static="true" + final="true" + deprecated="not deprecated" + visibility="public" +> +</field> +<field name="SCO_AUDIO_STATE_ERROR" + type="int" + transient="false" + volatile="false" + value="-1" + static="true" + final="true" + deprecated="not deprecated" + visibility="public" +> +</field> <field name="STREAM_ALARM" type="int" transient="false" @@ -385585,7 +385673,7 @@ deprecated="not deprecated" visibility="public" > -<parameter name="message" type="java.lang.String"> +<parameter name="text" type="java.lang.String"> </parameter> </method> </class> |