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

Commit 8f258659 authored by William Escande's avatar William Escande
Browse files

Remove duplicate code in disable BluetoothAdapter

Bug: 274131645
Test: Change is no-op
Change-Id: I117b7f02979b758efbb68da3f123af22475ef4fe
parent 35bbba23
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);
    }

    /**