Merge "Fix crash during Bluetooth on/off stress test" into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e2502eb9ad
@@ -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 ){
|
||||
|
||||
Reference in New Issue
Block a user