Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b983e01c authored by Hansong Zhang's avatar Hansong Zhang
Browse files

Make BluetoothPbap implement BluetoothProfile (3/3)

Change AIDL method signatures:
* Removed connect()
* Add BluetoothDevice parameter for disconnect()
* Rename other method names to be consistent with BluetoothProfile
methods

Test: test with PBAP carkits
Bug: 69417672
Change-Id: Ide81254d71128b9d204b63aa60bc39752add6edd
parent 4784b0ff
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -24,9 +24,8 @@ import android.bluetooth.BluetoothDevice;
 * {@hide}
 */
interface IBluetoothPbap {
    int getState();
    BluetoothDevice getClient();
    boolean connect(in BluetoothDevice device);
    void disconnect();
    boolean isConnected(in BluetoothDevice device);
    List<BluetoothDevice> getConnectedDevices();
    List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
    int getConnectionState(in BluetoothDevice device);
    void disconnect(in BluetoothDevice device);
}