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

Commit 7115ce56 authored by Zach Johnson's avatar Zach Johnson Committed by Gerrit Code Review
Browse files

Merge changes from topics "merge BT bond", "parameterize BT enable", "remove BT isEnabled"

* changes:
  Merge the variants of createBond
  Parameterize enable instead of having two variants
  Remove isEnabled
parents 6fb864a3 14661d04
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -35,11 +35,8 @@ import android.os.ResultReceiver;
 */
interface IBluetooth
{
    @UnsupportedAppUsage
    boolean isEnabled();
    int getState();
    boolean enable();
    boolean enableNoAutoConnect();
    boolean enable(boolean quietMode);
    boolean disable();

    @UnsupportedAppUsage
@@ -70,8 +67,7 @@ interface IBluetooth
    int getProfileConnectionState(int profile);

    BluetoothDevice[] getBondedDevices();
    boolean createBond(in BluetoothDevice device, in int transport);
    boolean createBondOutOfBand(in BluetoothDevice device, in int transport, in OobData oobData);
    boolean createBond(in BluetoothDevice device, in int transport, in OobData oobData);
    boolean cancelBondProcess(in BluetoothDevice device);
    boolean removeBond(in BluetoothDevice device);
    int getBondState(in BluetoothDevice device);