Skip to content

Commit 116748d

Browse files
Wink SavilleAndroid (Google) Code Review
authored andcommitted
Merge "show 3G icon for CDMA/1xRTT" into jb-dev
2 parents 3e504ac + 5333400 commit 116748d

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
@@ -575,18 +575,26 @@ private final void updateDataNetType() {
575575
}
576576
break;
577577
case TelephonyManager.NETWORK_TYPE_CDMA:
578-
// display 1xRTT for IS95A/B
579-
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
580-
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
581-
mContentDescriptionDataType = mContext.getString(
582-
R.string.accessibility_data_connection_cdma);
583-
break;
578+
if (!mShowAtLeastThreeGees) {
579+
// display 1xRTT for IS95A/B
580+
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
581+
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
582+
mContentDescriptionDataType = mContext.getString(
583+
R.string.accessibility_data_connection_cdma);
584+
break;
585+
} else {
586+
// fall through
587+
}
584588
case TelephonyManager.NETWORK_TYPE_1xRTT:
585-
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
586-
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
587-
mContentDescriptionDataType = mContext.getString(
588-
R.string.accessibility_data_connection_cdma);
589-
break;
589+
if (!mShowAtLeastThreeGees) {
590+
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
591+
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
592+
mContentDescriptionDataType = mContext.getString(
593+
R.string.accessibility_data_connection_cdma);
594+
break;
595+
} else {
596+
// fall through
597+
}
590598
case TelephonyManager.NETWORK_TYPE_EVDO_0: //fall through
591599
case TelephonyManager.NETWORK_TYPE_EVDO_A:
592600
case TelephonyManager.NETWORK_TYPE_EVDO_B:

0 commit comments

Comments
 (0)