Commit 23aaeb4a authored by Hiroki Yamamoto's avatar Hiroki Yamamoto
Browse files

Do not set mBluetoothEnabledByNfc when BT state changed

mBluetothEnabledByNfc is used to decide whether to disable BT
when finish BT handover.

Basically the value is set to false in onComplete() method and
it's enough to control the state. However it's changed also in
BroadcastReceiver when BT state changed to disabled.

It's been redundant and if the broadcast intent delays,
then it would cause state mismatch.

Test: Repeat AndroidBeam, BtPeripheralHandover
Change-Id: Ia652cae96aa75385c35db7585198abafed51e7ef
parent 0eb9822b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment