Bug 908075 - Part1: "USER_ACTIVITY" event implement in RIL. r=yoshi

This commit is contained in:
Georgia Wang 2013-09-04 18:45:35 +08:00
Родитель 40bee130d6
Коммит 081eaa7392
2 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -1010,7 +1010,7 @@ this.STK_TERMINAL_SUPPORT_EVENT_MT_CALL = 1;
this.STK_TERMINAL_SUPPORT_EVENT_CALL_CONNECTED = 1;
this.STK_TERMINAL_SUPPORT_EVENT_CALL_DISCONNECTED = 1;
this.STK_TERMINAL_SUPPORT_EVENT_LOCATION_STATUS = 1;
this.STK_TERMINAL_SUPPORT_EVENT_USER_ACTIVITY = 0;
this.STK_TERMINAL_SUPPORT_EVENT_USER_ACTIVITY = 1;
this.STK_TERMINAL_SUPPORT_EVENT_IDLE_SCREEN_AVAILABLE = 1;
this.STK_TERMINAL_SUPPORT_EVENT_CARD_READER_STATUS = 0;

Просмотреть файл

@ -2724,6 +2724,12 @@ let RIL = {
};
command.transactionId = 0;
break;
case STK_EVENT_TYPE_USER_ACTIVITY:
command.deviceId = {
sourceId: STK_DEVICE_ID_ME,
destinationId: STK_DEVICE_ID_SIM
};
break;
case STK_EVENT_TYPE_IDLE_SCREEN_AVAILABLE:
command.deviceId = {
sourceId: STK_DEVICE_ID_DISPLAY,