BT: Do not waitForOnoff when GattService connection is not completed
When receive BT disable msg when enable is ongoing while GattService is not connected yet, Handler will stuck in waitForOnOff and never process MESSAGE_BLUETOOTH_SERVICE_CONNECTED. Now ignore waitForOnoff in this scenario to make Bluetooth on/off smoothly. Also, disable will be handled after enable completed. Change-Id: I0f12fa2415712e706e36b18f1984b3dba4cc9a62 CRs-Fixed: 2348988
Loading
Please sign in to comment