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

Commit 2e896830 authored by Naveen Kalla's avatar Naveen Kalla
Browse files

Add missing logging for SET_TTY_MODE and QUERY_TTY_MODE

Change-Id: Ic794ef8258138b903f83c5ed77a0ee09e75ca094
parent dd1880ee
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);
    }