Closed Bug 1140314 Opened 10 years ago Closed 10 years ago

[B2G][ICC] Improve SIMSlotManager to Publish 'simslotready' at init() stage.

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(tracking-b2g:backlog)

RESOLVED FIXED
tracking-b2g backlog

People

(Reporter: bevis, Unassigned)

References

Details

Attachments

(1 file, 3 obsolete files)

In bug 1114935, we are trying to refactor IccManager with IPDL to deprecate RILContentHelper in the future. During refactoring, we found that SIMLockSceen was not shown at device boot-up if SIM PIN is enabled. (Note: The one in FTU works properly.) After further analysis, the root cause is addressed in bug 1114935 comment 95. Hence, we would like to rise our concern to Gaia to see if we can improve this in Gaia before landing the fix of bug 1114935. The related PR will be uploaded later for reference.
We found this impact when refector MozIccMananger with IPDL and would like to improve this in SIMSlotManager from the perspective of MozIccManager APIs. More detailed analysis in addressed in bug 1114935 comment 95. Hi Alive, May I have your review for this change? Thanks!
Attachment #8573857 - Flags: review?(alive)
Attachment #8573854 - Attachment is obsolete: true
Comment on attachment 8573857 [details] [review] PR v1 - Improve SIMSlotManager to Publish 'simslotready' at init() stage. The idea sounds sane; it would be better if you have unit tests added.
Attachment #8573857 - Flags: review?(alive) → review+
(In reply to Alive Kuo [:alive][NEEDINFO!] from comment #3) > Comment on attachment 8573857 [details] [review] > PR v1 - Improve SIMSlotManager to Publish 'simslotready' at init() stage. > > The idea sounds sane; it would be better if you have unit tests added. There is one test failure in simslot_manager_test, please fix it before merging. Request review if you think it needs extra review.
(In reply to Alive Kuo [:alive][NEEDINFO!] from comment #4) > (In reply to Alive Kuo [:alive][NEEDINFO!] from comment #3) > > Comment on attachment 8573857 [details] [review] > > PR v1 - Improve SIMSlotManager to Publish 'simslotready' at init() stage. > > > > The idea sounds sane; it would be better if you have unit tests added. > > There is one test failure in simslot_manager_test, please fix it before > merging. Request review if you think it needs extra review. Thanks! I'll update patch to address this. :)
blocking-b2g: --- → backlog
update v2 to address the test case failure.
Attachment #8573857 - Attachment is obsolete: true
Attachment #8575183 - Attachment is obsolete: true
Attachment #8575184 - Flags: review+
Attachment #8575184 - Attachment is patch: true
Attachment #8575184 - Attachment mime type: text/x-github-pull-request → text/plain
Keywords: checkin-needed
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Comment on attachment 8573857 [details] [review] PR v1 - Improve SIMSlotManager to Publish 'simslotready' at init() stage. https://github.com/mozilla-b2g/gaia/pull/28743
Comment on attachment 8575184 [details] [diff] [review] PR v2 - Improve SIMSlotManager to Publish 'simslotready' at init() stage. r=alive Hi Alive, Sorry, I created a new PR instead of updating the original one which was removed from github, and this new PR is rejected by autolander because I marked the r+ with my name. May I have your review again for this change? BTW, the try server result of this patch is green now: https://treeherder.mozilla.org/#/jobs?repo=gaia-try&revision=fb87b9fe418c Thanks!
Attachment #8575184 - Flags: review+ → review?(alive)
Comment on attachment 8575184 [details] [diff] [review] PR v2 - Improve SIMSlotManager to Publish 'simslotready' at init() stage. r=alive The only question is please also test Dual SIM: one SIM is detected but another is not when init. Please flag review again once addressed, thanks.
Attachment #8575184 - Flags: review?(alive)
Comment on attachment 8575184 [details] [diff] [review] PR v2 - Improve SIMSlotManager to Publish 'simslotready' at init() stage. r=alive Hi Alive, I've added one more test case with 1st slot ready and 2nd slot absent. To achieve, additional modification in MockSIMSlot is required. May I have your review again for this change? Thanks! ps. update tryserver result for reference: https://treeherder.mozilla.org/#/jobs?repo=gaia-try&revision=33b1175cd8a4
Attachment #8575184 - Flags: review?(alive)
Comment on attachment 8575184 [details] [diff] [review] PR v2 - Improve SIMSlotManager to Publish 'simslotready' at init() stage. r=alive Thanks!
Attachment #8575184 - Flags: review?(alive) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
blocking-b2g: backlog → ---
Depends on: 1148309
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: