From: Vasu Nori Date: Sat, 18 Aug 2018 00:28:11 +0000 (-0700) Subject: Add new hidden API to return SDP record's MapSupportedFeatures field. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f2b03b49ac81da5315636697cff5c8f102aa929c;p=android-x86%2Fsystem-bt.git Add new hidden API to return SDP record's MapSupportedFeatures field. 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 --- diff --git a/binder/android/bluetooth/IBluetoothMapClient.aidl b/binder/android/bluetooth/IBluetoothMapClient.aidl index 7ac91e9f5..54e2dd7bc 100644 --- a/binder/android/bluetooth/IBluetoothMapClient.aidl +++ b/binder/android/bluetooth/IBluetoothMapClient.aidl @@ -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); }