зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1052842 - Part 3: Use enums for NetworkSelectionMode in nsIMobileConnectionService.idl (gonk). r=echen
This commit is contained in:
Родитель
c267b07f9c
Коммит
d85df99540
|
@ -236,7 +236,7 @@ MobileConnectionProvider.prototype = {
|
|||
voice: null,
|
||||
data: null,
|
||||
iccId: null,
|
||||
networkSelectionMode: null,
|
||||
networkSelectionMode: Ci.nsIMobileConnection.NETWORK_SELECTION_MODE_UNKNOWN,
|
||||
radioState: null,
|
||||
lastKnownNetwork: null,
|
||||
lastKnownHomeNetwork: null,
|
||||
|
|
|
@ -2600,9 +2600,10 @@ GECKO_PERSO_LOCK_TO_CARD_PERSO_LOCK[GECKO_CARDLOCK_SPCK_PUK] = CARD_PERSOSUBSTAT
|
|||
GECKO_PERSO_LOCK_TO_CARD_PERSO_LOCK[GECKO_CARDLOCK_RCCK_PUK] = CARD_PERSOSUBSTATE_RUIM_CORPORATE_PUK;
|
||||
GECKO_PERSO_LOCK_TO_CARD_PERSO_LOCK[GECKO_CARDLOCK_RSPCK_PUK] = CARD_PERSOSUBSTATE_RUIM_SERVICE_PROVIDER_PUK;
|
||||
|
||||
this.GECKO_NETWORK_SELECTION_UNKNOWN = null;
|
||||
this.GECKO_NETWORK_SELECTION_AUTOMATIC = "automatic";
|
||||
this.GECKO_NETWORK_SELECTION_MANUAL = "manual";
|
||||
// See nsIMobileConnection::NETWORK_SELECTION_MODE_*
|
||||
this.GECKO_NETWORK_SELECTION_UNKNOWN = -1;
|
||||
this.GECKO_NETWORK_SELECTION_AUTOMATIC = 0;
|
||||
this.GECKO_NETWORK_SELECTION_MANUAL = 1;
|
||||
|
||||
this.GECKO_MOBILE_CONNECTION_STATE_UNKNOWN = null;
|
||||
this.GECKO_MOBILE_CONNECTION_STATE_NOTSEARCHING = "notSearching";
|
||||
|
|
|
@ -469,7 +469,7 @@ RilObject.prototype = {
|
|||
*/
|
||||
this.appType = null;
|
||||
|
||||
this.networkSelectionMode = null;
|
||||
this.networkSelectionMode = GECKO_NETWORK_SELECTION_UNKNOWN;
|
||||
|
||||
this.voiceRegistrationState = {};
|
||||
this.dataRegistrationState = {};
|
||||
|
|
Загрузка…
Ссылка в новой задаче