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

Commit f3aaf0a7 authored by Service qcabuildsw's avatar Service qcabuildsw Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Bluetooth: ignore connection state change while BT OFF" into...

Merge "Bluetooth: ignore connection state change while BT OFF" into android-framework.lnx.2.0.c1-dev
parents 0af64b1a 4b299be8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -126,7 +126,9 @@ public final class CachedBluetoothDevice implements Comparable<CachedBluetoothDe
            Log.d(TAG, "onProfileStateChanged: profile " + profile +
                    " newProfileState " + newProfileState);
        }
        if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_TURNING_OFF)
        int bluetoothState = mLocalAdapter.getBluetoothState();
        if (bluetoothState == BluetoothAdapter.STATE_TURNING_OFF ||
                bluetoothState == BluetoothAdapter.STATE_OFF)
        {
            if (Utils.D) Log.d(TAG, " BT Turninig Off...Profile conn state change ignored...");
            return;