зеркало из https://github.com/mozilla/gecko-dev.git
Bug 831630 - Part 2: [B2G STK]: Support duration for DISPLAY TEXT, SETUP CALL. r=allstars.chh
From 2c2cf6206e3f42a81e0293f3c40aae2d22e056a3 Mon Sep 17 00:00:00 2001 --- dom/system/gonk/ril_worker.js | 11 +++++++++++ 1 file changed, 11 insertions(+)
This commit is contained in:
Родитель
8e16a4799b
Коммит
85aaabe0d9
|
@ -7412,6 +7412,11 @@ let StkCommandParamsFactory = {
|
|||
textMsg.responseNeeded = true;
|
||||
}
|
||||
|
||||
ctlv = StkProactiveCmdHelper.searchForTag(COMPREHENSIONTLV_TAG_DURATION, ctlvs);
|
||||
if (ctlv) {
|
||||
textMsg.duration = ctlv.value;
|
||||
}
|
||||
|
||||
// High priority.
|
||||
if (cmdDetails.commandQualifier & 0x01) {
|
||||
textMsg.isHighPriority = true;
|
||||
|
@ -7576,6 +7581,12 @@ let StkCommandParamsFactory = {
|
|||
}
|
||||
call.address = ctlv.value.number;
|
||||
|
||||
// see 3GPP TS 31.111 section 6.4.13
|
||||
ctlv = StkProactiveCmdHelper.searchForTag(COMPREHENSIONTLV_TAG_DURATION, ctlvs);
|
||||
if (ctlv) {
|
||||
call.duration = ctlv.value;
|
||||
}
|
||||
|
||||
return call;
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче