Closed
Bug 790543
Opened 12 years ago
Closed 12 years ago
B2G STK: Support Proactive command 'SET UP EVENT LIST'
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: allstars.chh, Assigned: allstars.chh)
References
Details
(Whiteboard: [LOE: S])
Attachments
(2 files, 3 obsolete files)
(deleted),
patch
|
philikon
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
We should add support for 'SET UP EVENT LIST' proactive command to let web-apps to monitor those events needed by ICC.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → allstars.chh
blocking-basecamp: --- → ?
Whiteboard: [LOE: S]
Comment 1•12 years ago
|
||
Yoshi, is this a basecamp blocker?
Whiteboard: [LOE: S] → [LOE: S][blocked-on-input Yoshi Huang]
Assignee | ||
Comment 2•12 years ago
|
||
Yes, it's needed in Brazil.
Whiteboard: [LOE: S][blocked-on-input Yoshi Huang] → [LOE: S]
Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Updated•12 years ago
|
blocking-basecamp: ? → +
Assignee | ||
Comment 3•12 years ago
|
||
Assignee | ||
Comment 4•12 years ago
|
||
Assignee | ||
Comment 5•12 years ago
|
||
updated documentation in IDL.
Attachment #661114 -
Attachment is obsolete: true
Assignee | ||
Comment 6•12 years ago
|
||
Comment on attachment 661116 [details] [diff] [review]
Part 1: Update IDL. v2
Hi, philikon
This patch updates the IDL for supporting SET_UP_EVENT_LIST proactive command,
would you help to review this ?
Thanks
Attachment #661116 -
Flags: review?(philipp)
Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 661115 [details] [diff] [review]
Part 2: Update RIL
Hi, philikon
This part is about the implementation.
Thanks
Attachment #661115 -
Flags: review?(philipp)
Updated•12 years ago
|
Attachment #661116 -
Flags: review?(philipp) → review+
Comment 8•12 years ago
|
||
Comment on attachment 661115 [details] [diff] [review]
Part 2: Update RIL
Review of attachment 661115 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/system/gonk/ril_worker.js
@@ +5525,5 @@
> + throw new Error("Stk Display Text: Required value missing : Event List");
> + }
> +
> + return {
> + eventList: ctlv.value ? ctlv.value.eventList : null
Can't we reuse ctlv.value? Like so:
if (ctlv.value) {
return ctlv.value;
}
return { eventList: null };
r=me with that.
Attachment #661115 -
Flags: review?(philipp) → review+
Assignee | ||
Comment 9•12 years ago
|
||
Comment on attachment 661116 [details] [diff] [review]
Part 1: Update IDL. v2
Hi, sicking
The purpose of this patch is, when ICC(or SIM) sends STK_CMD_SET_UP_EVENT_LIST to ME(or phone), it tells ME the list of events that shall be monitored by ME, so when one of these events is happened, ICC shall be notified.
(Notifying those events are addressed in Bug 795047, Bug 791935)
Would you review this for me ?
Thank you.
Attachment #661116 -
Flags: superreview?(jonas)
Assignee | ||
Comment 10•12 years ago
|
||
Addressed to philikon's comments:
reuse ctlv.value
Thanks
Attachment #661115 -
Attachment is obsolete: true
Comment on attachment 661116 [details] [diff] [review]
Part 1: Update IDL. v2
Review of attachment 661116 [details] [diff] [review]:
-----------------------------------------------------------------
I've probably mentioned this before, but ideally these things should be strings rather than enums. But this is totally fine for now.
Attachment #661116 -
Flags: superreview?(jonas) → superreview+
Assignee | ||
Comment 12•12 years ago
|
||
(In reply to Jonas Sicking (:sicking) from comment #11)
> Comment on attachment 661116 [details] [diff] [review]
> Part 1: Update IDL. v2
>
> Review of attachment 661116 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I've probably mentioned this before, but ideally these things should be
> strings rather than enums. But this is totally fine for now.
Hi Jonas
Yes, you have mentioned it before, but currently we're running out of time,
so I would like to finish all required features first.
Also to make it consistent, I still use 'unsigned short' in new patch instead of 'string'.
I definitely will change it to string when these features is completed. :)
Thank you.
Assignee | ||
Comment 14•12 years ago
|
||
Assignee | ||
Comment 15•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/99ff1aef50a2
https://hg.mozilla.org/integration/mozilla-inbound/rev/7006a89424bf
Target Milestone: --- → mozilla18
Comment 16•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/99ff1aef50a2
https://hg.mozilla.org/mozilla-central/rev/7006a89424bf
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•