* commit '4e07468fcec44f97dffde9533b1480674dc47d86': Reset the pointer to the Bluetooth GATT service
This commit is contained in:
@@ -1506,6 +1506,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
|
|||||||
//Unbind
|
//Unbind
|
||||||
mContext.unbindService(mConnection);
|
mContext.unbindService(mConnection);
|
||||||
}
|
}
|
||||||
|
mBluetoothGatt = null;
|
||||||
}
|
}
|
||||||
SystemClock.sleep(100);
|
SystemClock.sleep(100);
|
||||||
|
|
||||||
@@ -1811,6 +1812,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
|
|||||||
//Unbind
|
//Unbind
|
||||||
mContext.unbindService(mConnection);
|
mContext.unbindService(mConnection);
|
||||||
}
|
}
|
||||||
|
mBluetoothGatt = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
mHandler.removeMessages(MESSAGE_BLUETOOTH_STATE_CHANGE);
|
mHandler.removeMessages(MESSAGE_BLUETOOTH_STATE_CHANGE);
|
||||||
|
|||||||
Reference in New Issue
Block a user