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

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

MAP MCE remove cancelDiscovery

am: 09a68500

Change-Id: I026cac36a53086aa0eeb0daaf4d4a7900b1c04f3
parents 0854a3a2 09a68500
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);