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

RESOLVED FIXED in Firefox 18

Status

()

defect
P1
normal
RESOLVED FIXED
7 years ago
7 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)

As per device certification requirements, we need to support MMI codes for entering, changing and unlocking of PIN and PIN2 codes.
Blocks: MMI
Summary: MMI Codes: Support SIM/USIM handling MMI codes → MMI Codes: Support PIN/PIN2/PUK handling via MMI codes
blocking-basecamp: --- → ?
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: ? → +
Whiteboard: [LOE:S]
I consider this task as LOE:S once bug 793186 lands
Depends on: 793186
Posted patch Part 1: RIL (obsolete) — Splinter Review
Attachment #669884 - Flags: review?(marshall)
Posted patch Part 2: TestsSplinter Review
Attachment #669885 - Flags: review?(marshall)
Posted patch Part 1: RILSplinter Review
Now without trailing whitespaces.
Attachment #669884 - Attachment is obsolete: true
Attachment #669884 - Flags: review?(marshall)
Attachment #669886 - Flags: review?(marshall)
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
Closed: 7 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.