author | Chuck Lee <chulee@mozilla.com> |
Mon, 28 Jan 2013 10:44:12 +0800 | |
changeset 120310 | 64b519b7fddf27f132103272090b687569905a04 |
parent 120309 | f7eac60178f6401d20827a73b012f6593da282d0 |
child 120311 | ecede220333ae1b2e114074b09d759f93b1bdf79 |
push id | 22148 |
push user | yhuang@mozilla.com |
push date | Wed, 30 Jan 2013 02:31:52 +0000 |
treeherder | mozilla-inbound@3125ccd01edb [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | yoshi |
bugs | 831627 |
milestone | 21.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/system/gonk/ril_worker.js +++ b/dom/system/gonk/ril_worker.js @@ -2603,16 +2603,23 @@ let RIL = { command.transactionId = 0; break; case STK_EVENT_TYPE_IDLE_SCREEN_AVAILABLE: command.deviceId = { sourceId: STK_DEVICE_ID_DISPLAY, destinationId: STK_DEVICE_ID_SIM }; break; + case STK_EVENT_TYPE_LANGUAGE_SELECTION: + command.deviceId = { + sourceId: STK_DEVICE_ID_ME, + destinationId: STK_DEVICE_ID_SIM + }; + command.language = command.event.language; + break; } this.sendICCEnvelopeCommand(command); }, /** * Send REQUEST_STK_SEND_ENVELOPE_COMMAND to ICC. * * @param tag @@ -2724,16 +2731,21 @@ let RIL = { GsmPDUHelper.writeHexOctet(options.timerId); } // Timer Value if (options.timerValue != null) { ComprehensionTlvHelper.writeTimerValueTlv(options.timerValue, true); } + // Language + if (options.language) { + ComprehensionTlvHelper.writeLanguageTlv(options.language); + } + // Calculate and write BER length to 2nd mark Buf.stopCalOutgoingSize(); // Calculate and write Parcel size to 1st mark Buf.stopCalOutgoingSize(); Buf.writeUint32(0); Buf.sendParcel();