Update mapping for the rat type in data stall proto
Previously, the radio technology definitions are refered to those definitions in ServiceState. However, the definitions are slightly different from the definitions of NETWORK_TYPE_* in TelephonyManager which will cause the data is misjudged. Revise to refer to the same definitions. Bug: 147082857 Test: build Change-Id: I12fb14a9b7e70d57ce043bfe2880b358eecea872
This commit is contained in:
@@ -34,7 +34,7 @@ enum ApBand {
|
|||||||
AP_BAND_5GHZ = 2;
|
AP_BAND_5GHZ = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Refer to definition in ServiceState.java.
|
// Refer to definition in TelephonyManager.java.
|
||||||
enum RadioTech {
|
enum RadioTech {
|
||||||
RADIO_TECHNOLOGY_UNKNOWN = 0;
|
RADIO_TECHNOLOGY_UNKNOWN = 0;
|
||||||
RADIO_TECHNOLOGY_GPRS = 1;
|
RADIO_TECHNOLOGY_GPRS = 1;
|
||||||
@@ -49,8 +49,8 @@ enum RadioTech {
|
|||||||
RADIO_TECHNOLOGY_HSUPA = 10;
|
RADIO_TECHNOLOGY_HSUPA = 10;
|
||||||
RADIO_TECHNOLOGY_HSPA = 11;
|
RADIO_TECHNOLOGY_HSPA = 11;
|
||||||
RADIO_TECHNOLOGY_EVDO_B = 12;
|
RADIO_TECHNOLOGY_EVDO_B = 12;
|
||||||
RADIO_TECHNOLOGY_EHRPD = 13;
|
RADIO_TECHNOLOGY_LTE = 13;
|
||||||
RADIO_TECHNOLOGY_LTE = 14;
|
RADIO_TECHNOLOGY_EHRPD = 14;
|
||||||
RADIO_TECHNOLOGY_HSPAP = 15;
|
RADIO_TECHNOLOGY_HSPAP = 15;
|
||||||
RADIO_TECHNOLOGY_GSM = 16;
|
RADIO_TECHNOLOGY_GSM = 16;
|
||||||
RADIO_TECHNOLOGY_TD_SCDMA = 17;
|
RADIO_TECHNOLOGY_TD_SCDMA = 17;
|
||||||
|
|||||||
Reference in New Issue
Block a user