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

Commit e9b7067b authored by Yixiao Luo's avatar Yixiao Luo
Browse files

Update the default values of fields for logExternalInputEvent

Bug: 279185950
Test: mmm
Change-Id: Ifbcdd28499f08766cc7d344690c5415efa33455e
parent 091e31d2
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -3055,10 +3055,10 @@ public final class TvInputManagerService extends SystemService {
        TvInputInfo tvInputInfo = tvInputState.info;
        TvInputInfo tvInputInfo = tvInputState.info;
        int inputState = tvInputState.state;
        int inputState = tvInputState.state;
        int inputType = tvInputInfo.getType();
        int inputType = tvInputInfo.getType();
        // For non-CEC input, the value of vendorId is 0.
        // For non-CEC input, the value of vendorId is 0xFFFFFF (16777215 in decimal).
        int vendorId = 0;
        int vendorId = 16777215;
        // For non-HDMI input, the value of hdmiPort is 0.
        // For non-HDMI input, the value of hdmiPort is -1.
        int hdmiPort = 0;
        int hdmiPort = -1;
        String tifSessionId = sessionState.sessionId;
        String tifSessionId = sessionState.sessionId;


        if (tvInputInfo.getType() == TvInputInfo.TYPE_HDMI) {
        if (tvInputInfo.getType() == TvInputInfo.TYPE_HDMI) {