OSDN Git Service

Re-add binder method for getPriority in IBluetoothA2dp.aidl as well as
authorRahul Sabnis <rahulsabnis@google.com>
Fri, 20 Mar 2020 02:40:40 +0000 (19:40 -0700)
committerRahul Sabnis <rahulsabnis@google.com>
Sat, 21 Mar 2020 04:09:53 +0000 (04:09 +0000)
getPriority and setPriority in IBluetoothHeadset.aidl

Bug: 148689314
Test: Manual
Change-Id: Id9efe237b24dbf24e91491826d34f61cbb761991

binder/android/bluetooth/IBluetoothA2dp.aidl
binder/android/bluetooth/IBluetoothHeadset.aidl

index 3b406cc..39157e5 100644 (file)
@@ -52,4 +52,5 @@ interface IBluetoothA2dp {
     int supportsOptionalCodecs(in BluetoothDevice device);
     int getOptionalCodecsEnabled(in BluetoothDevice device);
     oneway void setOptionalCodecsEnabled(in BluetoothDevice device, int value);
+    int getPriority(in BluetoothDevice device);
 }
index bc8fa05..0edac14 100644 (file)
@@ -63,4 +63,6 @@ interface IBluetoothHeadset {
     boolean setActiveDevice(in BluetoothDevice device);
     BluetoothDevice getActiveDevice();
     boolean isInbandRingingEnabled();
+    boolean setPriority(in BluetoothDevice device, int connectionPolicy);
+    int getPriority(in BluetoothDevice device);
 }