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

Commit c5fe7255 authored by Hugh Chen's avatar Hugh Chen Committed by Android (Google) Code Review
Browse files

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

parents 9e747a55 97104355
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);