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

Commit af862b30 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: I2e4978a0b02911801751c89f7bb13deb5075b00c
parents c7391742 c5fe7255
Loading
Loading
Loading
Loading
+1 −4
Original line number Original line Diff line number Diff line
@@ -476,10 +476,7 @@ public class LocalMediaManager implements BluetoothCallback {
            if (connectDevice != null) {
            if (connectDevice != null) {
                connectDevice.setState(MediaDeviceState.STATE_CONNECTED);
                connectDevice.setState(MediaDeviceState.STATE_CONNECTED);
            }
            }
            if (connectDevice == mCurrentConnectedDevice) {

                Log.d(TAG, "onConnectedDeviceChanged() this device all ready connected!");
                return;
            }
            mCurrentConnectedDevice = connectDevice;
            mCurrentConnectedDevice = connectDevice;
            dispatchSelectedDeviceStateChanged(mCurrentConnectedDevice,
            dispatchSelectedDeviceStateChanged(mCurrentConnectedDevice,
                    MediaDeviceState.STATE_CONNECTED);
                    MediaDeviceState.STATE_CONNECTED);