diff options
author | Wink Saville <wink@google.com> | 2012-08-04 08:17:21 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-08-04 08:17:21 -0700 |
commit | bd2ebfb3775433ca0a4e51739ca0a1d124276fdc (patch) | |
tree | d008e35a73ee04123e1cfe2da66c5c8f43b7901c /packages/SystemUI | |
parent | 0f59194cd97a9fb31de847ac17ac57f19594a34f (diff) | |
parent | 3d62c325fefbfc6d810ed30db4fd000b35332c50 (diff) | |
download | frameworks_base-bd2ebfb3775433ca0a4e51739ca0a1d124276fdc.zip frameworks_base-bd2ebfb3775433ca0a4e51739ca0a1d124276fdc.tar.gz frameworks_base-bd2ebfb3775433ca0a4e51739ca0a1d124276fdc.tar.bz2 |
am 3d62c325: am bb01fd01: am 1971df5d: am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"
* commit '3d62c325fefbfc6d810ed30db4fd000b35332c50':
show 3G icon for CDMA/1xRTT
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java index 8711a8d..8365d08 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java @@ -577,18 +577,26 @@ public class NetworkController extends BroadcastReceiver { } break; case TelephonyManager.NETWORK_TYPE_CDMA: - // display 1xRTT for IS95A/B - mDataIconList = TelephonyIcons.DATA_1X[mInetCondition]; - mDataTypeIconId = R.drawable.stat_sys_data_connected_1x; - mContentDescriptionDataType = mContext.getString( - R.string.accessibility_data_connection_cdma); - break; + if (!mShowAtLeastThreeGees) { + // display 1xRTT for IS95A/B + mDataIconList = TelephonyIcons.DATA_1X[mInetCondition]; + mDataTypeIconId = R.drawable.stat_sys_data_connected_1x; + mContentDescriptionDataType = mContext.getString( + R.string.accessibility_data_connection_cdma); + break; + } else { + // fall through + } case TelephonyManager.NETWORK_TYPE_1xRTT: - mDataIconList = TelephonyIcons.DATA_1X[mInetCondition]; - mDataTypeIconId = R.drawable.stat_sys_data_connected_1x; - mContentDescriptionDataType = mContext.getString( - R.string.accessibility_data_connection_cdma); - break; + if (!mShowAtLeastThreeGees) { + mDataIconList = TelephonyIcons.DATA_1X[mInetCondition]; + mDataTypeIconId = R.drawable.stat_sys_data_connected_1x; + mContentDescriptionDataType = mContext.getString( + R.string.accessibility_data_connection_cdma); + break; + } else { + // fall through + } case TelephonyManager.NETWORK_TYPE_EVDO_0: //fall through case TelephonyManager.NETWORK_TYPE_EVDO_A: case TelephonyManager.NETWORK_TYPE_EVDO_B: |