From: Stanley Tng Date: Mon, 14 Jan 2019 00:13:09 +0000 (-0800) Subject: Add a new isAshaHearingAidSupported method to Bluetooth Manager X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6658ddeafcb6922d7e51b5f681064a4d0bfe735e;p=android-x86%2Fsystem-bt.git 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) --- 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(); }