MMI Codes: Support PIN/PIN2/PUK handling via MMI codes

RESOLVED FIXED in Firefox 18

Status

()

Core
DOM: Device Interfaces
P1
normal
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: ferjm, Assigned: ferjm)

Tracking

Trunk
mozilla19
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(blocking-basecamp:+, firefox18 fixed, firefox19 fixed)

Details

(Whiteboard: [LOE:S])

Attachments

(2 attachments, 1 obsolete attachment)

(Assignee)

Description

5 years ago
As per device certification requirements, we need to support MMI codes for entering, changing and unlocking of PIN and PIN2 codes.
(Assignee)

Updated

5 years ago
Blocks: 793178
(Assignee)

Updated

5 years ago
Summary: MMI Codes: Support SIM/USIM handling MMI codes → MMI Codes: Support PIN/PIN2/PUK handling via MMI codes
(Assignee)

Updated

5 years ago
blocking-basecamp: --- → ?
(Assignee)

Updated

5 years ago
Assignee: nobody → ferjmoreno
Is this a P1 blockers or is it a nice-to-have?
Whiteboard: [blocked-on-input philikon]
(In reply to Andrew Overholt [:overholt] from comment #1)
> Is this a P1 blockers or is it a nice-to-have?

Blocker because device certification requirement.
Whiteboard: [blocked-on-input philikon]
blocking-basecamp: ? → +
(Assignee)

Updated

5 years ago
Whiteboard: [LOE:S]
(Assignee)

Comment 3

5 years ago
I consider this task as LOE:S once bug 793186 lands
Depends on: 793186
(Assignee)

Comment 4

5 years ago
Created attachment 669884 [details] [diff] [review]
Part 1: RIL
Attachment #669884 - Flags: review?(marshall)
(Assignee)

Comment 5

5 years ago
Created attachment 669885 [details] [diff] [review]
Part 2: Tests
Attachment #669885 - Flags: review?(marshall)
(Assignee)

Comment 6

5 years ago
Created attachment 669886 [details] [diff] [review]
Part 1: RIL

Now without trailing whitespaces.
Attachment #669884 - Attachment is obsolete: true
Attachment #669884 - Flags: review?(marshall)
Attachment #669886 - Flags: review?(marshall)

Updated

5 years ago
Priority: -- → P1
Comment on attachment 669886 [details] [diff] [review]
Part 1: RIL

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

Looks good, just two minor nits :)

::: dom/system/gonk/ril_worker.js
@@ +2327,5 @@
>        options.errorMsg = errorMsg;
>        this.sendDOMMessage(options);
>      }).bind(this);
>  
> +    let _isValidICCRequest = function _isValidICCRequest() {

nit: does this need to be declared as a variable? (just using a named function should suffice, unless you meant to bind it?)

also, this function name seems overly broad if you're only validating registration MMI procedures..
Attachment #669886 - Flags: review?(marshall) → review+
Comment on attachment 669885 [details] [diff] [review]
Part 2: Tests

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

\o/ for tests. Can you also add test case(s) for the new PINs being different (NEW_PIN_MISMATCH)? r=me with that
Attachment #669885 - Flags: review?(marshall) → review+
https://hg.mozilla.org/mozilla-central/rev/c8eb7dfe8678
https://hg.mozilla.org/mozilla-central/rev/4807f1c1308e
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Blocks: 819528
You need to log in before you can comment on or make changes to this bug.