Closed Bug 849725 Opened 11 years ago Closed 11 years ago

B2G RIL: remove RIL.iccInfoPrivate.SPN.spn

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24
Tracking Status
firefox22 --- wontfix
firefox23 --- wontfix
firefox24 --- fixed

People

(Reporter: kk1fff, Assigned: kk1fff)

Details

Attachments

(1 file, 3 obsolete files)

This properity isn't used and the spn string is also stored in RIL.iccInfo.spn. We can remove spn string from iccInfoPrivate.
Attached patch Remove spn from iccInfoPriv.SPN (obsolete) — Splinter Review
Attachment #749126 - Flags: review?(allstars.chh)
Comment on attachment 749126 [details] [diff] [review]
Remove spn from iccInfoPriv.SPN

Review of attachment 749126 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/system/gonk/ril_worker.js
@@ +10166,1 @@
>        };

It seems we can make it become
RIL.iccInfoPrivate.spnDisplayCondtion, without wrapping by another SPN object, right?
Attachment #749126 - Attachment is obsolete: true
Attachment #749126 - Flags: review?(allstars.chh)
Attachment #749186 - Flags: review?(allstars.chh)
fix xpcshell failure.
Attachment #749186 - Attachment is obsolete: true
Attachment #749186 - Flags: review?(allstars.chh)
Attachment #749723 - Flags: review?(allstars.chh)
Comment on attachment 749723 [details] [diff] [review]
Patch: use iccInfoPriv.spnDisplayCondition to store display condition v3

Review of attachment 749723 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/system/gonk/ril_worker.js
@@ +11219,3 @@
>            iccInfo.isDisplayNetworkNameRequired = true;
>          } else {
>            iccInfo.isDisplayNetworkNameRequired = false;

we could make this remove this if block by
iccInfo.isDisplayNetworkNameRequired = (displayCondition & 0x01) != 0;

also with & 0x2 below.

But it doesn't matter too much so I leave you to decide.
Attachment #749723 - Flags: review?(allstars.chh) → review+
https://hg.mozilla.org/mozilla-central/rev/7c9620071088
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: