Skip to content

Commit e20a19c

Browse files
Wink Savilleandroid code review
authored andcommitted
Merge "show 3G icon for CDMA/1xRTT"
2 parents d2237df + 68cad3a commit e20a19c

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
@@ -568,18 +568,26 @@ private final void updateDataNetType() {
568568
}
569569
break;
570570
case TelephonyManager.NETWORK_TYPE_CDMA:
571-
// display 1xRTT for IS95A/B
572-
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
573-
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
574-
mContentDescriptionDataType = mContext.getString(
575-
R.string.accessibility_data_connection_cdma);
576-
break;
571+
if (!mShowAtLeastThreeGees) {
572+
// display 1xRTT for IS95A/B
573+
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
574+
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
575+
mContentDescriptionDataType = mContext.getString(
576+
R.string.accessibility_data_connection_cdma);
577+
break;
578+
} else {
579+
// fall through
580+
}
577581
case TelephonyManager.NETWORK_TYPE_1xRTT:
578-
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
579-
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
580-
mContentDescriptionDataType = mContext.getString(
581-
R.string.accessibility_data_connection_cdma);
582-
break;
582+
if (!mShowAtLeastThreeGees) {
583+
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
584+
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
585+
mContentDescriptionDataType = mContext.getString(
586+
R.string.accessibility_data_connection_cdma);
587+
break;
588+
} else {
589+
// fall through
590+
}
583591
case TelephonyManager.NETWORK_TYPE_EVDO_0: //fall through
584592
case TelephonyManager.NETWORK_TYPE_EVDO_A:
585593
case TelephonyManager.NETWORK_TYPE_EVDO_B:

0 commit comments

Comments
 (0)