Bug 831628 - 0002. Handle event. r=yoshi
authorChuck Lee <chulee@mozilla.com>
Thu, 24 Jan 2013 12:15:09 +0800
changeset 119865 f3b169983cdb1d7e3cc55f62b69b2ccbeb7971dc
parent 119864 1183f031c783df2ef785220d08e2ed45f127fbae
child 119866 5f8b0e4a7e2284bcf84e57085375933199cb4adb
push id1317
push userryanvm@gmail.com
push dateSun, 27 Jan 2013 02:21:57 +0000
treeherderfx-team@47684913d63d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersyoshi
bugs831628
milestone21.0a1
Bug 831628 - 0002. Handle event. r=yoshi
dom/system/gonk/ril_worker.js
--- a/dom/system/gonk/ril_worker.js
+++ b/dom/system/gonk/ril_worker.js
@@ -2595,16 +2595,22 @@ let RIL = {
       case STK_EVENT_TYPE_CALL_CONNECTED:  // Fall through
         command.deviceId = {
           sourceId: (command.event.isIssuedByRemote ?
                      STK_DEVICE_ID_NETWORK : STK_DEVICE_ID_ME),
           destinationId: STK_DEVICE_ID_SIM
         };
         command.transactionId = 0;
         break;
+      case STK_EVENT_TYPE_IDLE_SCREEN_AVAILABLE:
+        command.deviceId = {
+          sourceId: STK_DEVICE_ID_DISPLAY,
+          destinationId: STK_DEVICE_ID_SIM
+        };
+        break;
     }
     this.sendICCEnvelopeCommand(command);
   },
 
   /**
    * Send REQUEST_STK_SEND_ENVELOPE_COMMAND to ICC.
    *
    * @param tag