Loading services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java +3 −0 Original line number Diff line number Diff line Loading @@ -1404,6 +1404,9 @@ public class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice { if (connected) { if (mArcEstablished) { enableAudioReturnChannel(true); } else { HdmiLogger.debug("Restart ARC again"); onNewAvrAdded(getAvrDeviceInfo()); } } else { enableAudioReturnChannel(false); Loading services/tests/servicestests/src/com/android/server/hdmi/HdmiCecLocalDeviceTvTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,7 @@ import androidx.test.InstrumentationRegistry; import androidx.test.filters.SmallTest; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; Loading Loading @@ -1033,6 +1034,7 @@ public class HdmiCecLocalDeviceTvTest { } @Test @Ignore("b/360768278") public void onHotplug_doNotSend_systemAudioModeRequestWithParameter(){ // Add a device to the network and assert that this device is included in the list of // devices. Loading Loading
services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java +3 −0 Original line number Diff line number Diff line Loading @@ -1404,6 +1404,9 @@ public class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice { if (connected) { if (mArcEstablished) { enableAudioReturnChannel(true); } else { HdmiLogger.debug("Restart ARC again"); onNewAvrAdded(getAvrDeviceInfo()); } } else { enableAudioReturnChannel(false); Loading
services/tests/servicestests/src/com/android/server/hdmi/HdmiCecLocalDeviceTvTest.java +2 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,7 @@ import androidx.test.InstrumentationRegistry; import androidx.test.filters.SmallTest; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; Loading Loading @@ -1033,6 +1034,7 @@ public class HdmiCecLocalDeviceTvTest { } @Test @Ignore("b/360768278") public void onHotplug_doNotSend_systemAudioModeRequestWithParameter(){ // Add a device to the network and assert that this device is included in the list of // devices. Loading