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

Commit 716c1fbb authored by Andre Eisenbach's avatar Andre Eisenbach
Browse files

Fix crash during Bluetooth on/off stress test

Bug: 18106938
Change-Id: Icdeb736d89d5926264f2043455ccbc3760fd5d29
parent d38150d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1445,7 +1445,7 @@ public final class BluetoothAdapter {
                if (VDBG) Log.d(TAG, "onBluetoothServiceDown: " + mService);
                synchronized (mManagerCallback) {
                    mService = null;
                    mLeScanClients.clear();
                    if (mLeScanClients != null) mLeScanClients.clear();
                    if (sBluetoothLeAdvertiser != null) sBluetoothLeAdvertiser.cleanup();
                    if (sBluetoothLeScanner != null) sBluetoothLeScanner.cleanup();
                    for (IBluetoothManagerCallback cb : mProxyServiceStateCallbacks ){