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

Commit c4f90130 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 am: 8fe605aa am: f4823119

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

Change-Id: Ife91748aea440d696726a96a4fc30dde53f2bd0d
parents 37782b5b f4823119
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);