Loading core/java/android/bluetooth/BluetoothAdapter.java +4 −1 Original line number Diff line number Diff line Loading @@ -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); } /** Loading Loading
core/java/android/bluetooth/BluetoothAdapter.java +4 −1 Original line number Diff line number Diff line Loading @@ -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); } /** Loading