Closed
Bug 900321
Opened 11 years ago
Closed 11 years ago
B2G RIL: Add PUK state for nck, spck, and cck
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: allstars.chh, Assigned: allstars.chh)
References
Details
Attachments
(3 files, 5 obsolete files)
2.85 KB,
patch
|
vicamo
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
11.20 KB,
patch
|
vicamo
:
review+
|
Details | Diff | Splinter Review |
7.43 KB,
patch
|
vicamo
:
review+
|
Details | Diff | Splinter Review |
In Bug 849757 we have added 'spck' and 'cck' card state when the SIM card is locked in personalization state. But we didn't add PUK for these locks. So Gaia side couldn't know the SIMcard is in nck-puk, spck-puk, cck-puk state. This bug is filed to fix these.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #784765 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #784764 -
Flags: review?(vyang)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #784764 -
Attachment is obsolete: true
Attachment #784764 -
Flags: review?(vyang)
Attachment #784842 -
Flags: review?(vyang)
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #784767 -
Attachment is obsolete: true
Attachment #784769 -
Attachment is obsolete: true
Updated•11 years ago
|
Attachment #784842 -
Flags: review?(vyang) → review+
Assignee | ||
Updated•11 years ago
|
Attachment #784843 -
Flags: review?(vyang)
Comment 7•11 years ago
|
||
Comment on attachment 784843 [details] [diff] [review] Part 2: RIL and test case. v2 Review of attachment 784843 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/system/gonk/ril_worker.js @@ +1039,5 @@ > enterDepersonalization: function enterDepersonalization(options) { > Buf.newParcel(REQUEST_ENTER_NETWORK_DEPERSONALIZATION_CODE, options); > Buf.writeUint32(options.type); > + if (options.lockType.endsWith("Puk")) { > + Buf.writeString(options.puk); Let's move these determinant logic to the callee, let |enterDepersonalization| accept three parameters -- type, pin, and options.
Attachment #784843 -
Flags: review?(vyang)
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #784843 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #785636 -
Flags: review?(vyang)
Assignee | ||
Updated•11 years ago
|
Attachment #784842 -
Flags: superreview?(jonas)
Attachment #784842 -
Flags: superreview?(jonas) → superreview+
Comment 9•11 years ago
|
||
Comment on attachment 785636 [details] [diff] [review] Part 2: RIL and test case. v3 Review of attachment 785636 [details] [diff] [review]: ----------------------------------------------------------------- Thank you :)
Attachment #785636 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 10•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/5fd0b863fac7 https://hg.mozilla.org/integration/b2g-inbound/rev/ede868d47878
Comment 11•11 years ago
|
||
Backed out for the Marionette failures discussed in bug 901897. https://hg.mozilla.org/integration/b2g-inbound/rev/cd6bda58b682
Assignee | ||
Comment 12•11 years ago
|
||
Error message: 09:49:11 INFO - AssertionError: See errors below and more information in Bug 880643 09:49:11 INFO - ril_consts.js: line 2368, col 36, ['nck'] is better written in dot notation. 09:49:11 INFO - ril_consts.js: line 2369, col 36, ['cck'] is better written in dot notation. 09:49:11 INFO - ril_consts.js: line 2370, col 36, ['spck'] is better written in dot notation. 09:49:11 INFO - ril_consts.js: line 2371, col 36, ['nckPuk'] is better written in dot notation. 09:49:11 INFO - ril_consts.js: line 2372, col 36, ['cckPuk'] is better written in dot notation. 09:49:11 INFO - ril_consts.js: line 2373, col 36, ['spckPuk'] is better written in dot notation. 09:49:11 INFO - TEST-UNEXPECTED-FAIL | I'll create a Part 3 patch to fix this.
Assignee | ||
Comment 13•11 years ago
|
||
Attachment #786770 -
Flags: review?(vyang)
Assignee | ||
Comment 14•11 years ago
|
||
Try result with Part 3 : https://tbpl.mozilla.org/?tree=Try&rev=a2037f5718a5
Updated•11 years ago
|
Attachment #786770 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 15•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/6f84ea80219d https://hg.mozilla.org/integration/b2g-inbound/rev/4bb87898165a https://hg.mozilla.org/integration/b2g-inbound/rev/daaaa9227b48
Comment 16•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6f84ea80219d https://hg.mozilla.org/mozilla-central/rev/4bb87898165a https://hg.mozilla.org/mozilla-central/rev/daaaa9227b48
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•