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

Commit 8913a0e1 authored by Jinsuk Kim's avatar Jinsuk Kim
Browse files

CEC: Let playback device switch TV input after bootup

Saves users from having to switch TV input manually to a playback device
after it boots up.

Bug: 19046176
Change-Id: I0a4fae1036138ce2e19cbac9fdd9dda41bdcf89f
parent b74155cf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -55,6 +55,10 @@ final class HdmiCecLocalDevicePlayback extends HdmiCecLocalDevice {
        mService.sendCecCommand(HdmiCecMessageBuilder.buildDeviceVendorIdCommand(
                mAddress, mService.getVendorId()));
        startQueuedActions();

        // Switch TV input after bootup.
        setActiveSource(true);
        maySendActiveSource(Constants.ADDR_TV);
    }

    @Override