OSDN Git Service

Add new hidden API to return SDP record's MapSupportedFeatures field.
authorVasu Nori <vnori@google.com>
Sat, 18 Aug 2018 00:28:11 +0000 (17:28 -0700)
committervnori <vnori@google.com>
Tue, 25 Sep 2018 21:38:44 +0000 (21:38 +0000)
That field is documented in Bluetooth MAP 1.4 spec, page 114.
Spec is here: http://shortn/_zfoIrfbIzR

Bug: 111614861
Test: tested w/ KitchenSink App
Change-Id: I89903c386d97934ec7b9c80333ecc6a6d560cbec

binder/android/bluetooth/IBluetoothMapClient.aidl

index 7ac91e9..54e2dd7 100644 (file)
@@ -37,4 +37,5 @@ interface IBluetoothMapClient {
     boolean sendMessage(in BluetoothDevice device, in Uri[] contacts, in  String message,
         in PendingIntent sentIntent, in PendingIntent deliveryIntent);
     boolean getUnreadMessages(in BluetoothDevice device);
+    int getSupportedFeatures(in BluetoothDevice device);
 }