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

Commit f0d6b4ee authored by Dan Harms's avatar Dan Harms Committed by android-build-merger
Browse files

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

am: 6006a300

Change-Id: I32779d316e1823c010b70e27a962f66cf6a5b112
parents d16993ad 6006a300
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);
    }

    /**