Bug 778679 - (b2g-stk) B2G RIL: Handle RIL_UNSOL_STK_EVENT_NOTIFY. r=philikon
authorYoshi Huang <allstars.chh@mozilla.com>
Fri, 27 Jul 2012 18:36:34 +0800
changeset 105812 7566291ca483b3ef7434355e0fe03bb7a40d16f6
parent 105811 5420af81b778aa2f97705d738fa16fb66bb0ab32
child 105813 0633977cfcc328f2c02d0a23ef64781165f0b319
child 105817 370b39cc967b38557ce38c47ea1c8479e5c688b7
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
reviewersphilikon
bugs778679
milestone18.0a1
Bug 778679 - (b2g-stk) B2G RIL: Handle RIL_UNSOL_STK_EVENT_NOTIFY. r=philikon
dom/system/gonk/ril_worker.js
--- a/dom/system/gonk/ril_worker.js
+++ b/dom/system/gonk/ril_worker.js
@@ -3972,17 +3972,19 @@ RIL[UNSOLICITED_DATA_CALL_LIST_CHANGED] 
 RIL[UNSOLICITED_SUPP_SVC_NOTIFICATION] = null;
 
 RIL[UNSOLICITED_STK_SESSION_END] = function UNSOLICITED_STK_SESSION_END() {
   this.sendDOMMessage({rilMessageType: "stksessionend"});
 };
 RIL[UNSOLICITED_STK_PROACTIVE_COMMAND] = function UNSOLICITED_STK_PROACTIVE_COMMAND() {
   this.processStkProactiveCommand();
 };
-RIL[UNSOLICITED_STK_EVENT_NOTIFY] = null;
+RIL[UNSOLICITED_STK_EVENT_NOTIFY] = function UNSOLICITED_STK_EVENT_NOTIFY() {
+  this.processStkProactiveCommand();
+};
 RIL[UNSOLICITED_STK_CALL_SETUP] = null;
 RIL[UNSOLICITED_SIM_SMS_STORAGE_FULL] = null;
 RIL[UNSOLICITED_SIM_REFRESH] = null;
 RIL[UNSOLICITED_CALL_RING] = function UNSOLICITED_CALL_RING() {
   let info;
   let isCDMA = false; //XXX TODO hard-code this for now
   if (isCDMA) {
     info = {