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

Commit e7486695 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Code Review
Browse files

Merge "Add missing logging for SET_TTY_MODE and QUERY_TTY_MODE"

parents b42aa98d 2e896830
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3406,6 +3406,8 @@ public final class RIL extends BaseCommands implements CommandsInterface {
        RILRequest rr = RILRequest.obtain(
                RILConstants.RIL_REQUEST_QUERY_TTY_MODE, response);

        if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest));

        send(rr);
    }

@@ -3419,6 +3421,9 @@ public final class RIL extends BaseCommands implements CommandsInterface {
        rr.mp.writeInt(1);
        rr.mp.writeInt(ttyMode);

        if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)
                + " : " + ttyMode);

        send(rr);
    }