Donot reset mEnable flag when binding timeout.

During start up, binding could take a while. When binding timeout
only reset mBinding but not mEnable.
bug 7328147

Change-Id: I306a84ca53d9e1d05111395642626e68d19e9663
This commit is contained in:
Matthew Xie
2012-10-11 01:05:32 -07:00
parent 60fa4617bc
commit a517de36c4

View File

@@ -702,7 +702,6 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
Log.e(TAG, "MESSAGE_TIMEOUT_BIND");
synchronized(mConnection) {
mBinding = false;
mEnable = false;
}
break;
}