Skip to content

Commit bb01fd0

Browse files
Wink SavilleAndroid Git Automerger
authored andcommitted
am 1971df5: am e20a19c: Merge "show 3G icon for CDMA/1xRTT"
* commit '1971df5d4296f077cccff704201057a32b733235': show 3G icon for CDMA/1xRTT
2 parents b49a065 + 1971df5 commit bb01fd0

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -577,18 +577,26 @@ private final void updateDataNetType() {
577577
}
578578
break;
579579
case TelephonyManager.NETWORK_TYPE_CDMA:
580-
// display 1xRTT for IS95A/B
581-
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
582-
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
583-
mContentDescriptionDataType = mContext.getString(
584-
R.string.accessibility_data_connection_cdma);
585-
break;
580+
if (!mShowAtLeastThreeGees) {
581+
// display 1xRTT for IS95A/B
582+
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
583+
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
584+
mContentDescriptionDataType = mContext.getString(
585+
R.string.accessibility_data_connection_cdma);
586+
break;
587+
} else {
588+
// fall through
589+
}
586590
case TelephonyManager.NETWORK_TYPE_1xRTT:
587-
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
588-
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
589-
mContentDescriptionDataType = mContext.getString(
590-
R.string.accessibility_data_connection_cdma);
591-
break;
591+
if (!mShowAtLeastThreeGees) {
592+
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
593+
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
594+
mContentDescriptionDataType = mContext.getString(
595+
R.string.accessibility_data_connection_cdma);
596+
break;
597+
} else {
598+
// fall through
599+
}
592600
case TelephonyManager.NETWORK_TYPE_EVDO_0: //fall through
593601
case TelephonyManager.NETWORK_TYPE_EVDO_A:
594602
case TelephonyManager.NETWORK_TYPE_EVDO_B:

0 commit comments

Comments
 (0)