The PIN code should be asked as soon as we leave Airplane mode, if the SIM is locked

VERIFIED FIXED in B2G C3 (12dec-1jan)

Status

P3
normal
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: julienw, Assigned: vingtetun)

Tracking

unspecified
B2G C3 (12dec-1jan)
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(blocking-basecamp:+)

Details

Attachments

(1 attachment)

STR:
* have a SIM card with SIM security enabled (this is in Settings > privacy & security > SIM security)
* activate airplane mode
* disable airplane mode

Expected:
* we ask for the PIN code

Actual:
* the PIN code is not asked for

The PIN code will be asked if we open an app which requires to access the SIM (like Sms or the Dialer) but in the mean time we won't receive any call and SMS.

When we then go to the Sms app, we got asked the PIN code, but then we have to wait before the connection to the network is done. This is inconvenient.

What's more, if the (eg) Sms app was already launched, then the PIN code is not asked when we go back to the app, and the SIM is not unlocked at all unless we go to another app like the Dialer.

So there are bsaically 3 issues, the 1st and 3rd one are major, and the 2nd one is minor, and all would be fixed by this simple fix. So nominating.
blocking-basecamp: ? → +
Priority: -- → P3
Target Milestone: --- → B2G C3 (12dec-1jan)
Created attachment 696067 [details] [diff] [review]
Patch
Assignee: nobody → 21
Attachment #696067 - Flags: review?(poirot.alex)
Comment on attachment 696067 [details] [diff] [review]
Patch

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

Could you just add a comment around `case null:` and `case absent:`
in order to remember that being in airplane mode means having an absent state.
And eventually a null state??
Attachment #696067 - Flags: review?(poirot.alex) → review+
(In reply to Alexandre Poirot (:ochameau) from comment #2)
> Comment on attachment 696067 [details] [diff] [review]
> Patch
> 
> Review of attachment 696067 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Could you just add a comment around `case null:` and `case absent:`
> in order to remember that being in airplane mode means having an absent
> state.
> And eventually a null state??

Will do before merging.

Comment 5

6 years ago
Appears to be working properly in Unagi build 20130102070202.

Verifying as fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.