Fix AVR compatibility.

Not to start ARC action if ARC has been already established
It’s a device compatibility issue happened with Sony amplifier str-dn860.
Occasionally ARC won’t be able to be established after connect the amplifier to TV through HDMI ARC.

Bug: 133329521

Change-Id: I857e2457cb682e810a940b0698d4bb635bebd1de
This commit is contained in:
Hannah.Hsu
2019-05-15 15:05:23 +08:00
committed by Jay Patel
parent 5ce391b313
commit 452541739d

View File

@@ -850,7 +850,11 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
mSystemAudioActivated = on;
mService.announceSystemAudioModeChange(on);
}
startArcAction(on);
if (on && !mArcEstablished) {
startArcAction(true);
} else if (!on) {
startArcAction(false);
}
}
}