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

Commit 3bba1433 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 am: af862b30

Change-Id: I32ec12e9ac2e50beaf4586e5ba679c7bdb68ed5e
parents b8189e5a af862b30
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);