OSDN Git Service

Add a new isAshaHearingAidSupported method to Bluetooth Manager
authorStanley Tng <stng@google.com>
Mon, 14 Jan 2019 00:13:09 +0000 (16:13 -0800)
committerStanley Tng <stng@google.com>
Wed, 23 Jan 2019 00:31:31 +0000 (16:31 -0800)
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

index a3ec1d8..2e12700 100644 (file)
@@ -49,5 +49,6 @@ interface IBluetoothManager
     boolean isBleScanAlwaysAvailable();
     int updateBleAppCount(IBinder b, boolean enable, String packageName);
     boolean isBleAppPresent();
+    boolean isHearingAidProfileSupported();
 }