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

Commit ac413db4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Include BLE<->SPP transition states in isLeEnabled"

parents b28fac6e 2d7e1873
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -858,7 +858,10 @@ public final class BluetoothAdapter {
        if (DBG) {
            Log.d(TAG, "isLeEnabled(): " + BluetoothAdapter.nameForState(state));
        }
        return (state == BluetoothAdapter.STATE_ON || state == BluetoothAdapter.STATE_BLE_ON);
        return (state == BluetoothAdapter.STATE_ON
                || state == BluetoothAdapter.STATE_BLE_ON
                || state == BluetoothAdapter.STATE_TURNING_ON
                || state == BluetoothAdapter.STATE_TURNING_OFF);
    }

    /**