summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chienyuan <chienyuanhuang@google.com> 2019-06-14 00:24:29 -0700
committer android-build-merger <android-build-merger@google.com> 2019-06-14 00:24:29 -0700
commit2235a8778b5f4d0fb45a677ff83c957950717cfc (patch)
tree1237024735f2f5d31960f23f6ade7f5956f06df7
parent9d59a7546355fcb99a7852d559b71f1ec51eac9f (diff)
parent8fdfd917d1c33f6faf1bf83530ff34f6e41e2e41 (diff)
Merge "Declare STATE_AUDIO_CONNECTED in right place"
am: 8fdfd917d1 Change-Id: Ia5164a15d93e52babeafbdaadff87b28e751b9e5
-rw-r--r--core/java/android/bluetooth/BluetoothHeadset.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/bluetooth/BluetoothHeadset.java b/core/java/android/bluetooth/BluetoothHeadset.java
index 9862a63ef238..672174f8f76c 100644
--- a/core/java/android/bluetooth/BluetoothHeadset.java
+++ b/core/java/android/bluetooth/BluetoothHeadset.java
@@ -280,6 +280,7 @@ public final class BluetoothHeadset implements BluetoothProfile {
* {@link #EXTRA_STATE} or {@link #EXTRA_PREVIOUS_STATE} of
* {@link #ACTION_AUDIO_STATE_CHANGED} intent.
*/
+ public static final int STATE_AUDIO_CONNECTED = 12;
/**
* Intent used to broadcast the headset's indicator status
@@ -322,8 +323,6 @@ public final class BluetoothHeadset implements BluetoothProfile {
public static final String EXTRA_HF_INDICATORS_IND_VALUE =
"android.bluetooth.headset.extra.HF_INDICATORS_IND_VALUE";
- public static final int STATE_AUDIO_CONNECTED = 12;
-
private static final int MESSAGE_HEADSET_SERVICE_CONNECTED = 100;
private static final int MESSAGE_HEADSET_SERVICE_DISCONNECTED = 101;