Closed Bug 912814 Opened 11 years ago Closed 11 years ago

[Settings] User can change the PIN code in'Change PIN' menu when SIM state is 'pukRequired'

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 897310

People

(Reporter: leo.bugzilla.gaia, Unassigned)

Details

Attachments

(1 file)

[STR]
1. SIM lock is enable
2. Try to unlock and input the wrong PIN code 3 times
3. Close the PUK screen
4. Go to 'Change PIN'

You can chage the PIN code without PUK code


I uploaded a patch. 
User can change PIN code after input PUK code.

Please check it
Attachment #799909 - Flags: review?(ehung)
Comment on attachment 799909 [details] [diff] [review]
simcard_dialog.patch

r=me. Thanks for the patch, but I'm afraid that it's not properly solve the bug.
This patch force displayed screen to be 'unlock' but doesn't update user action to correct 'unlock' state, that may lead to an inconsistency. Furthermore, this transition is not smooth and I think it's better to redirect user to unlock puk screen when the user clicking on "change pin" button.
BTW, please use `IccHelper.cardState` instead of `this.mobileConnection.cardState`, we do a run-time detection in IccHelper to know which interface we should query.
Attachment #799909 - Flags: review?(ehung) → review-
Thanks for review.
`IccHelper.cardState` do not use in v1-train.

This issue should be fixed in the next version of leo.
This patch was temporary to fix quickly and not applied in leo.

Please check this issue.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: