Support battery level reporting via Plantronics XEVENT (1/2)

* Add related constants to BluetoothHeadset

Bug: 35874078
Test: make, test with supporting headsets
Change-Id: Ied089a065bf9caa0d03f681950fefa2ea990bb3e
Merged-In: Ied089a065bf9caa0d03f681950fefa2ea990bb3e
(cherry picked from commit 0fcbba25b7)
This commit is contained in:
Jack He
2017-06-20 17:07:40 -07:00
parent dfd8618b2d
commit fff37da08d

View File

@@ -199,6 +199,18 @@ public final class BluetoothHeadset implements BluetoothProfile {
*/
public static final String VENDOR_RESULT_CODE_COMMAND_ANDROID = "+ANDROID";
/**
* A vendor-specific AT command
* @hide
*/
public static final String VENDOR_SPECIFIC_HEADSET_EVENT_XEVENT = "+XEVENT";
/**
* Battery level indicator associated with {@link #VENDOR_SPECIFIC_HEADSET_EVENT_XEVENT}
* @hide
*/
public static final String VENDOR_SPECIFIC_HEADSET_EVENT_XEVENT_BATTERY_LEVEL = "BATTERY";
/**
* Headset state when SCO audio is not connected.
* This state can be one of