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

Commit 8fe605aa authored by Rahul Sabnis's avatar Rahul Sabnis Committed by Automerger Merge Worker
Browse files

Merge "AIDL changes to support new System APIs BluetoothDevice#connect and...

Merge "AIDL changes to support new System APIs BluetoothDevice#connect and BluetoothDevice#disconnect" into stage-aosp-master am: b61c106a

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/15936280

Change-Id: Ie574893d34f59c84d8ea2fbdc88505dbbaa63b8b
parents 17a79a30 b61c106a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -227,9 +227,9 @@ interface IBluetooth
    void onBrEdrDown(in AttributionSource attributionSource);

    @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED,android.Manifest.permission.MODIFY_PHONE_STATE})")
    boolean connectAllEnabledProfiles(in BluetoothDevice device, in AttributionSource attributionSource);
    int connectAllEnabledProfiles(in BluetoothDevice device, in AttributionSource attributionSource);
    @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})")
    boolean disconnectAllEnabledProfiles(in BluetoothDevice device, in AttributionSource attributionSource);
    int disconnectAllEnabledProfiles(in BluetoothDevice device, in AttributionSource attributionSource);

    @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED,android.Manifest.permission.MODIFY_PHONE_STATE})")
    boolean setActiveDevice(in BluetoothDevice device, in int profiles, in AttributionSource attributionSource);