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

Commit ca77b5ec authored by Joseph Pirozzo's avatar Joseph Pirozzo Committed by android-build-merger
Browse files

Merge "MAP MCE remove cancelDiscovery"

am: cb5fa6ca

Change-Id: If3d3b2d7f8f8dc7efb5f15384bcc560523f46b9b
parents b742e01f cb5fa6ca
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -340,7 +340,6 @@ final class MceStateMachine extends StateMachine {
            }
            onConnectionStateChanged(mPreviousState, BluetoothProfile.STATE_CONNECTING);

            BluetoothAdapter.getDefaultAdapter().cancelDiscovery();
            // When commanded to connect begin SDP to find the MAS server.
            mDevice.sdpSearch(BluetoothUuid.MAS);
            sendMessageDelayed(MSG_CONNECTING_TIMEOUT, TIMEOUT);