summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chienyuan <chienyuanhuang@google.com> 2019-05-29 10:29:30 +0800
committer Chienyuan <chienyuanhuang@google.com> 2019-05-29 10:29:30 +0800
commita669d1a19844cada44b6e11138f5f1be8d0dadee (patch)
tree6adf7c9afc6504d0a1d20169c7908aeea7918fab
parent7a5b9c2d0ace03626174705f72dca5f2019e4697 (diff)
Declare STATE_AUDIO_CONNECTED in right place
Test: build pass Change-Id: Ia3834207756afdcc06ccfd7bdc5c91c3e651bebe
-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;