зеркало из https://github.com/mozilla/gecko-dev.git
Bug 908075 - Part1: "USER_ACTIVITY" event implement in RIL. r=yoshi
This commit is contained in:
Родитель
40bee130d6
Коммит
081eaa7392
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче