Commit 849cc753 authored by siminy's avatar siminy
Browse files

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
parent 66465473
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment