summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Ni <gisngy@gmail.com>2016-07-16 15:21:30 +0000
committerMiccia <bono.michele94@gmail.com>2017-12-11 14:39:12 +0100
commit70a9a1fc34d01ee19e98c311f046cfb7a5bea1a6 (patch)
treee1687e428fb69595bd5a18e22fa704d2fabb9620
parentb29da02e4b48bae69bf74f6174cdf6815786cb94 (diff)
Display bluetooth battery status when available [2/2]o8.1
Change-Id: Ie2f10ee3e4276d05c8218af413ffb13b6b76c7c7
-rw-r--r--src/com/android/bluetooth/hfp/HeadsetStateMachine.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/bluetooth/hfp/HeadsetStateMachine.java b/src/com/android/bluetooth/hfp/HeadsetStateMachine.java
index e865f664..65e860a3 100644
--- a/src/com/android/bluetooth/hfp/HeadsetStateMachine.java
+++ b/src/com/android/bluetooth/hfp/HeadsetStateMachine.java
@@ -215,6 +215,8 @@ final class HeadsetStateMachine extends StateMachine {
VENDOR_SPECIFIC_AT_COMMAND_COMPANY_ID.put(
BluetoothHeadset.VENDOR_SPECIFIC_HEADSET_EVENT_IPHONEACCEV,
BluetoothAssignedNumbers.APPLE);
+ VENDOR_SPECIFIC_AT_COMMAND_COMPANY_ID.put("+XAPL", BluetoothAssignedNumbers.APPLE);
+ VENDOR_SPECIFIC_AT_COMMAND_COMPANY_ID.put("+IPHONEACCEV", BluetoothAssignedNumbers.APPLE);
}
private HeadsetStateMachine(HeadsetService context) {