Merge "Remove the check condition of connect device" into rvc-dev am: c5fe7255cb
Change-Id: I2e4978a0b02911801751c89f7bb13deb5075b00c
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user