From 6658ddeafcb6922d7e51b5f681064a4d0bfe735e Mon Sep 17 00:00:00 2001 From: Stanley Tng Date: Sun, 13 Jan 2019 16:13:09 -0800 Subject: [PATCH] Add a new isAshaHearingAidSupported method to Bluetooth Manager As part of adding isHearingAidsProfileSupported method to BluetoothAdapter, this new method is added to query the support state. Test: Manual testing with configuration enabled and disabled. Bug: 119617521 Change-Id: I97151443c6a5bd459a7c73c61f7fa7d5a386909a (cherry picked from commit 7d51ff78280a9e03949ffed8f7f61d5226c3a27b) --- binder/android/bluetooth/IBluetoothManager.aidl | 1 + 1 file changed, 1 insertion(+) diff --git a/binder/android/bluetooth/IBluetoothManager.aidl b/binder/android/bluetooth/IBluetoothManager.aidl index a3ec1d82c..2e1270048 100644 --- a/binder/android/bluetooth/IBluetoothManager.aidl +++ b/binder/android/bluetooth/IBluetoothManager.aidl @@ -49,5 +49,6 @@ interface IBluetoothManager boolean isBleScanAlwaysAvailable(); int updateBleAppCount(IBinder b, boolean enable, String packageName); boolean isBleAppPresent(); + boolean isHearingAidProfileSupported(); } -- 2.11.0