From a669d1a19844cada44b6e11138f5f1be8d0dadee Mon Sep 17 00:00:00 2001 From: Chienyuan Date: Wed, 29 May 2019 10:29:30 +0800 Subject: [PATCH] Declare STATE_AUDIO_CONNECTED in right place Test: build pass Change-Id: Ia3834207756afdcc06ccfd7bdc5c91c3e651bebe --- core/java/android/bluetooth/BluetoothHeadset.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/java/android/bluetooth/BluetoothHeadset.java b/core/java/android/bluetooth/BluetoothHeadset.java index 9862a63ef2385..672174f8f76cf 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;