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

Commit f68f6213 authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "Remove duplicate code in disable BluetoothAdapter"

parents b322e4ff 8f258659
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -1592,12 +1592,7 @@ public final class BluetoothAdapter {
    @RequiresBluetoothConnectPermission
    @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)
    public boolean disable() {
        try {
            return mManagerService.disable(mAttributionSource, true);
        } catch (RemoteException e) {
            Log.e(TAG, "", e);
        }
        return false;
        return disable(true);
    }

    /**