mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
380aa4f815
commit
ad45a4814a
@ -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;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user