Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a517de36 authored by Matthew Xie's avatar Matthew Xie
Browse files

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
parent 60fa4617
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -702,7 +702,6 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
                    Log.e(TAG, "MESSAGE_TIMEOUT_BIND");
                    synchronized(mConnection) {
                        mBinding = false;
                        mEnable = false;
                    }
                    break;
                }