Closed
Bug 1162464
Opened 10 years ago
Closed 10 years ago
[B2G][ICC] Move LogicalChannel access from IccProvider to IccService.
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(tracking-b2g:backlog, firefox41 fixed)
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: bevis, Assigned: bevis)
References
Details
Attachments
(3 files, 1 obsolete file)
8.54 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
5.14 KB,
patch
|
allstars.chh
:
review+
|
Details | Diff | Splinter Review |
11.97 KB,
patch
|
bevis
:
review+
|
Details | Diff | Splinter Review |
To completely deprecate IccProvider, we also have to move the APIs of logical channel from IccProvider to IccService.
I planned to fix this in bug 1114938.
Since logical channel access is not part of STK feature,
it will be more clear to separate this task from bug 1114938.
Assignee | ||
Comment 1•10 years ago
|
||
This is the idl part to move the ICC Logical Channel API from IccProvider to IccService.
Hi Edgar,
May I have your review for this change?
Thanks!
Attachment #8603149 -
Flags: review?(echen)
Assignee | ||
Updated•10 years ago
|
Attachment #8603149 -
Attachment description: Part 1: IDL Changes. r=echen → Part 1: IDL Changes.
Assignee | ||
Comment 3•10 years ago
|
||
Hi Yoshi,
May I have your review in UiccConnector due to the API changes in this bug?
Thanks!
Attachment #8603151 -
Flags: review?(allstars.chh)
Assignee | ||
Comment 4•10 years ago
|
||
[Tracking Requested - why for this release]:
tracking-b2g:
--- → backlog
Attachment #8603151 -
Flags: review?(allstars.chh) → review+
Updated•10 years ago
|
Attachment #8603149 -
Flags: review?(echen) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8603150 [details] [diff] [review]
Part 2: Implementation Changes.
Review of attachment 8603150 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you.
::: dom/icc/gonk/IccService.js
@@ +487,5 @@
> + iccOpenChannel: function(aAid, aCallback) {
> + this._radioInterface.sendWorkerMessage("iccOpenChannel",
> + { aid: aAid },
> + (aResponse) => {
> + if (!aCallback) {
Other function doesn't have such check. Just curious, is there any special reason to have |aCallback| check for logicalChannel API?
@@ +491,5 @@
> + if (!aCallback) {
> + return;
> + }
> +
> + return !aResponse.errorMsg
Don't need 'return'.
@@ +518,5 @@
> + if (!aCallback) {
> + return;
> + }
> +
> + return !aResponse.errorMsg
Ditto.
@@ +534,5 @@
> + if (!aCallback) {
> + return;
> + }
> +
> + return !aResponse.errorMsg
Ditto.
Attachment #8603150 -
Flags: review?(echen) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8603150 [details] [diff] [review]
Part 2: Implementation Changes.
Review of attachment 8603150 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/icc/gonk/IccService.js
@@ +487,5 @@
> + iccOpenChannel: function(aAid, aCallback) {
> + this._radioInterface.sendWorkerMessage("iccOpenChannel",
> + { aid: aAid },
> + (aResponse) => {
> + if (!aCallback) {
No, I also have the same question on this.
I just keep the same logic done in RILContentHelper.
I should revise more aggressively instead.
I'll address this in next update. :)
@@ +491,5 @@
> + if (!aCallback) {
> + return;
> + }
> +
> + return !aResponse.errorMsg
Ditto.
@@ +518,5 @@
> + if (!aCallback) {
> + return;
> + }
> +
> + return !aResponse.errorMsg
Ditto.
Updated•10 years ago
|
Target Milestone: --- → 2.2 S12 (15may)
Assignee | ||
Comment 7•10 years ago
|
||
address comment 5.
Attachment #8603150 -
Attachment is obsolete: true
Attachment #8605642 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Attachment #8603149 -
Attachment description: Part 1: IDL Changes. → Part 1: IDL Changes. r=echen
Assignee | ||
Updated•10 years ago
|
Attachment #8603151 -
Attachment description: Part 3: Refactor UiccConnector due to interface change. → Part 3: Refactor UiccConnector due to interface change. r=allstars.chh
Assignee | ||
Comment 8•10 years ago
|
||
update try server result:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=21719408d352
Keywords: checkin-needed
https://hg.mozilla.org/integration/b2g-inbound/rev/579df6b63b9e
https://hg.mozilla.org/integration/b2g-inbound/rev/9f0d8d7bc7a1
https://hg.mozilla.org/integration/b2g-inbound/rev/4d1576db931f
Keywords: checkin-needed
Comment 10•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•