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

Commit a1e46891 authored by Hannah.Hsu's avatar Hannah.Hsu Committed by Austin Shin
Browse files

Add <Request Active Source> when CEC is on or TV wakes up.

Bug: 130316162
Test: manual
Change-Id: Iae1b22a19d4bf308cadb45590346f46325b222c3
parent c0fe0ae2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -213,8 +213,10 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
        mLocalDeviceAddresses = initLocalDeviceAddresses();
        resetSelectRequestBuffer();
        launchDeviceDiscovery();
        if (!mDelayedMessageBuffer.isBuffered(Constants.MESSAGE_ACTIVE_SOURCE)) {
            mService.sendCecCommand(HdmiCecMessageBuilder.buildRequestActiveSource(mAddress));
        }
    }


    @ServiceThreadOnly
    private List<Integer> initLocalDeviceAddresses() {