Closed Bug 827246 Opened 12 years ago Closed 12 years ago

Listen to notification for entering PIN-code and display appropriate UI

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+)

RESOLVED WORKSFORME
B2G C4 (2jan on)
blocking-basecamp +

People

(Reporter: sicking, Assigned: arcturus)

References

Details

      No description provided.
The SIM-card can need to ask the the user to enter PIN code anytime. Bug 827244 is filed on firing a system message when this happens. This bug is for listening to that message and displaying appropriate UI whenever that happens.
blocking-basecamp: --- → ?
This is the ideal solution, but not sure if the best one for 15 Jan. Can we try to check first if there is a solution for bug 819994 that can be implemented directly in settings app and that does not require changes in the platform?
tracking-b2g18: --- → ?
Flags: needinfo?(frsela)
If we don't have a work around we will have to renominate
blocking-basecamp: ? → -
Unfortunately, we don't have a workaround, need to block on this one.
blocking-basecamp: - → ?
Flags: needinfo?(frsela)
(In reply to Jonas Sicking (:sicking) from comment #1)
> The SIM-card can need to ask the the user to enter PIN code anytime. Bug
> 827244 is filed on firing a system message when this happens. This bug is
> for listening to that message and displaying appropriate UI whenever that
> happens.

Why can't we simply listen on oniccinfochange / oncardstatechange?
Flags: needinfo?(jonas)
No reason. I didn't know we had that notification.
No longer depends on: 827244
Flags: needinfo?(jonas)
Summary: Listen to system message for entering PIN-code and display appropriate UI → Listen to notification for entering PIN-code and display appropriate UI
We already have a SIM PIN UI doing what comment 5 says.

Is this bug about to let gaia know when the application is 'actually' acquiring SIM-relevant function, to let gaia display SIM PIN UI?

Currently cardstatechange only happens when we change the state of card(enter a SIM PIN, deactivate the SIM PIN...) AFAIK.
Assignee: nobody → frsela
blocking-basecamp: ? → +
tracking-b2g18: + → ---
Priority: -- → P2
Target Milestone: --- → B2G C4 (2jan on)
Assignee: frsela → francisco.jordano
Depends on: 827244
I believe I also solved this issue in my patch for bug 828195.
As Evelyn comments, seems that bug 828195 will be solving this.

We are going to try the patch with a dual sim to verify. If so, we will mark this as duplicated of bug 828195.

Thanks.
:frsela just checked with a dual sim and with :evelyn changes we ask for the pin.

So I'm going to close this bug as works for me, also will close bug 827244, as we won't need the this system message, as all cases are covered.

Thanks all for your work!!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.