Bug 834118 - B2G CDMA: Add CDMA network type in the function of setting preferred network type. r=hsinyi

This commit is contained in:
Ken Chang 2013-01-24 16:46:52 +08:00
parent 48c79e7a63
commit 14b3bf2073

View File

@ -338,11 +338,21 @@ this.NETWORK_INFO_MESSAGE_TYPES = [
this.GECKO_PREFERRED_NETWORK_TYPE_WCDMA_GSM = "wcdma/gsm";
this.GECKO_PREFERRED_NETWORK_TYPE_GSM_ONLY = "gsm";
this.GECKO_PREFERRED_NETWORK_TYPE_WCDMA_ONLY = "wcdma";
this.GECKO_PREFERRED_NETWORK_TYPE_WCDMA_GSM_AUTO = "wcdma/gsm-auto";
this.GECKO_PREFERRED_NETWORK_TYPE_CDMA_EVDO = "cdma/evdo";
this.GECKO_PREFERRED_NETWORK_TYPE_CDMA_ONLY = "cdma";
this.GECKO_PREFERRED_NETWORK_TYPE_EVDO_ONLY = "evdo";
this.GECKO_PREFERRED_NETWORK_TYPE_WCDMA_GSM_CDMA_EVDO = "wcdma/gsm/cdma/evdo";
this.GECKO_PREFERRED_NETWORK_TYPE_DEFAULT = GECKO_PREFERRED_NETWORK_TYPE_WCDMA_GSM;
this.RIL_PREFERRED_NETWORK_TYPE_TO_GECKO = [
GECKO_PREFERRED_NETWORK_TYPE_WCDMA_GSM,
GECKO_PREFERRED_NETWORK_TYPE_GSM_ONLY,
GECKO_PREFERRED_NETWORK_TYPE_WCDMA_ONLY
GECKO_PREFERRED_NETWORK_TYPE_WCDMA_ONLY,
GECKO_PREFERRED_NETWORK_TYPE_WCDMA_GSM_AUTO,
GECKO_PREFERRED_NETWORK_TYPE_CDMA_EVDO,
GECKO_PREFERRED_NETWORK_TYPE_CDMA_ONLY,
GECKO_PREFERRED_NETWORK_TYPE_EVDO_ONLY,
GECKO_PREFERRED_NETWORK_TYPE_WCDMA_GSM_CDMA_EVDO
];
// Network registration states. See TS 27.007 7.2