зеркало из https://github.com/mozilla/gecko-dev.git
Bug 849757 - Part 1: Add 'corporateLocked' and 'serviceProviderLocked' to cardState in IDL. r=vicamo. sr=sicking.
This commit is contained in:
Родитель
7baf99a668
Коммит
07ad3c1d38
|
@ -30,7 +30,7 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
|||
* Indicates the state of the device's ICC card.
|
||||
*
|
||||
* Possible values: null, 'unknown', 'absent', 'pinRequired', 'pukRequired',
|
||||
* 'networkLocked', 'ready'.
|
||||
* 'networkLocked', 'corporateLocked', 'serviceProviderLocked', 'ready'.
|
||||
*/
|
||||
readonly attribute DOMString cardState;
|
||||
|
||||
|
@ -131,17 +131,28 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
|||
* unlockCardLock({lockType: "pin",
|
||||
* pin: "..."});
|
||||
*
|
||||
* (2) Network depersonalization. Unlocking the network control key (NCK).
|
||||
*
|
||||
* unlockCardLock({lockType: "nck",
|
||||
* pin: "..."});
|
||||
*
|
||||
* (3) Unlocking the PUK and supplying a new PIN:
|
||||
* (2) Unlocking the PUK and supplying a new PIN:
|
||||
*
|
||||
* unlockCardLock({lockType: "puk",
|
||||
* puk: "...",
|
||||
* newPin: "..."});
|
||||
*
|
||||
* (3) Network depersonalization. Unlocking the network control key (NCK).
|
||||
*
|
||||
* unlockCardLock({lockType: "nck",
|
||||
* pin: "..."});
|
||||
*
|
||||
* (4) Corporate depersonalization. Unlocking the corporate control key (CCK).
|
||||
*
|
||||
* unlockCardLock({lockType: "cck",
|
||||
* pin: "..."});
|
||||
*
|
||||
* (5) Service Provider depersonalization. Unlocking the service provider
|
||||
* control key (SPCK).
|
||||
*
|
||||
* unlockCardLock({lockType: "spck",
|
||||
* pin: "..."});
|
||||
*
|
||||
* @return a nsIDOMDOMRequest.
|
||||
* The request's result will be an object containing
|
||||
* information about the unlock operation.
|
||||
|
|
Загрузка…
Ссылка в новой задаче