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

Commit e105f550 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Bluetooth: Handle variable while BT turns ON from BLE ON"

parents afc52f5f 06b5c9f5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1722,6 +1722,11 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
                sendBleStateChanged(prevState, newState);
            }

            if( newState == BluetoothAdapter.STATE_TURNING_ON
               && prevState == BluetoothAdapter.STATE_BLE_ON) {
                mEnable = true;
            }

            if (isStandardBroadcast) {
                if (prevState == BluetoothAdapter.STATE_BLE_ON) {
                    // Show prevState of BLE_ON as OFF to standard users