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

Commit 8ff38505 authored by Hugh Chen's avatar Hugh Chen Committed by Automerger Merge Worker
Browse files

Merge "Remove the check condition of connect device" into rvc-dev am: c5fe7255

Change-Id: I3f337c40cbf40c585f20241325998b564128bac6
parents 6e97b1fd c5fe7255
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -476,10 +476,7 @@ public class LocalMediaManager implements BluetoothCallback {
            if (connectDevice != null) {
                connectDevice.setState(MediaDeviceState.STATE_CONNECTED);
            }
            if (connectDevice == mCurrentConnectedDevice) {
                Log.d(TAG, "onConnectedDeviceChanged() this device all ready connected!");
                return;
            }

            mCurrentConnectedDevice = connectDevice;
            dispatchSelectedDeviceStateChanged(mCurrentConnectedDevice,
                    MediaDeviceState.STATE_CONNECTED);