Support battery level reporting via Apple VSC (1/2)
* Add related constants to BluetoothHeadset
Bug: 35874078
Test: make, test with supporting headsets
Change-Id: I9f49ea28efdf6de0e751a377d879fe13a47655d5
Merged-In: I9f49ea28efdf6de0e751a377d879fe13a47655d5
(cherry picked from commit 679d0bc8f9)
This commit is contained in:
@@ -199,6 +199,25 @@ 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_XAPL = "+XAPL";
|
||||
|
||||
/**
|
||||
* A vendor-specific AT command
|
||||
* @hide
|
||||
*/
|
||||
public static final String VENDOR_SPECIFIC_HEADSET_EVENT_IPHONEACCEV = "+IPHONEACCEV";
|
||||
|
||||
/**
|
||||
* Battery level indicator associated with
|
||||
* {@link #VENDOR_SPECIFIC_HEADSET_EVENT_IPHONEACCEV}
|
||||
* @hide
|
||||
*/
|
||||
public static final int VENDOR_SPECIFIC_HEADSET_EVENT_IPHONEACCEV_BATTERY_LEVEL = 1;
|
||||
|
||||
/**
|
||||
* A vendor-specific AT command
|
||||
* @hide
|
||||
|
||||
Reference in New Issue
Block a user