Add missing logging for SET_TTY_MODE and QUERY_TTY_MODE

Change-Id: Ic794ef8258138b903f83c5ed77a0ee09e75ca094
This commit is contained in:
Naveen Kalla
2010-06-26 23:18:03 -07:00
parent dd1880ee5b
commit 2e896830f8

View File

@@ -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);
}