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

Commit 29a2a0d6 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Promotion of android-framework.lnx.2.0.c1-00009.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1088259   I9669b494e5106f14b8a711ac39271c971898a801   Bluetooth: ignore connection state change while BT OFF

Change-Id: I2e7557b19c3de93b3ac6113563ce91ff392b43a7
CRs-Fixed: 1088259
parents 3643bb5c f3aaf0a7
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;