* commit '1971df5d4296f077cccff704201057a32b733235': show 3G icon for CDMA/1xRTT
This commit is contained in:
@@ -577,18 +577,26 @@ public class NetworkController extends BroadcastReceiver {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case TelephonyManager.NETWORK_TYPE_CDMA:
|
case TelephonyManager.NETWORK_TYPE_CDMA:
|
||||||
// display 1xRTT for IS95A/B
|
if (!mShowAtLeastThreeGees) {
|
||||||
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
|
// display 1xRTT for IS95A/B
|
||||||
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
|
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
|
||||||
mContentDescriptionDataType = mContext.getString(
|
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
|
||||||
R.string.accessibility_data_connection_cdma);
|
mContentDescriptionDataType = mContext.getString(
|
||||||
break;
|
R.string.accessibility_data_connection_cdma);
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
// fall through
|
||||||
|
}
|
||||||
case TelephonyManager.NETWORK_TYPE_1xRTT:
|
case TelephonyManager.NETWORK_TYPE_1xRTT:
|
||||||
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
|
if (!mShowAtLeastThreeGees) {
|
||||||
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
|
mDataIconList = TelephonyIcons.DATA_1X[mInetCondition];
|
||||||
mContentDescriptionDataType = mContext.getString(
|
mDataTypeIconId = R.drawable.stat_sys_data_connected_1x;
|
||||||
R.string.accessibility_data_connection_cdma);
|
mContentDescriptionDataType = mContext.getString(
|
||||||
break;
|
R.string.accessibility_data_connection_cdma);
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
// fall through
|
||||||
|
}
|
||||||
case TelephonyManager.NETWORK_TYPE_EVDO_0: //fall through
|
case TelephonyManager.NETWORK_TYPE_EVDO_0: //fall through
|
||||||
case TelephonyManager.NETWORK_TYPE_EVDO_A:
|
case TelephonyManager.NETWORK_TYPE_EVDO_A:
|
||||||
case TelephonyManager.NETWORK_TYPE_EVDO_B:
|
case TelephonyManager.NETWORK_TYPE_EVDO_B:
|
||||||
|
|||||||
Reference in New Issue
Block a user