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

Commit 4ebfae63 authored by weichinweng's avatar weichinweng Committed by Automerger Merge Worker
Browse files

Call removeActiveDevice when want to remove an active device. am: e2c6f679

Change-Id: Id36555fdf28096eb2fcde70a877a77fc2d4073d7
parents d78ee3ef e2c6f679
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -43,6 +43,10 @@ public class BluetoothAdapterProxy {
        if (mBluetoothAdapter == null) {
            return false;
        }
        if (device != null) {
            return mBluetoothAdapter.setActiveDevice(device, profiles);
        } else {
            return mBluetoothAdapter.removeActiveDevice(profiles);
        }
    }
}