Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d995f0e9 authored by dhacker29's avatar dhacker29
Browse files

SystemUI: Only show H+ if config_hspa_data_distinguishable is set

Currently the UI is not consistent. If config_hspa_data_distinguishable
is not set you get 3G icon on HSPA and H+ icon on HSAPP.

Change-Id: I09db3a2902e30290206eafd1f64c940bab5b89e6
parent e269a172
Loading
Loading
Loading
Loading
+13 −5
Original line number Diff line number Diff line
@@ -706,11 +706,19 @@ public class NetworkController extends BroadcastReceiver implements DemoMode {
                    }
                    break;
                case TelephonyManager.NETWORK_TYPE_HSPAP:
                    if (mHspaDataDistinguishable) {
                        mDataIconList = TelephonyIcons.DATA_HP[mInetCondition];
                        mDataTypeIconId = R.drawable.stat_sys_data_fully_connected_hp;
                        mQSDataTypeIconId = TelephonyIcons.QS_DATA_HP[mInetCondition];
                        mContentDescriptionDataType = mContext.getString(
                                R.string.accessibility_data_connection_HP);
                    } else {
                        mDataIconList = TelephonyIcons.DATA_3G[mInetCondition];
                        mDataTypeIconId = R.drawable.stat_sys_data_fully_connected_3g;
                        mQSDataTypeIconId = TelephonyIcons.QS_DATA_3G[mInetCondition];
                        mContentDescriptionDataType = mContext.getString(
                                R.string.accessibility_data_connection_3g);
                    }
                    break;
                case TelephonyManager.NETWORK_TYPE_CDMA:
                    if (!mShowAtLeastThreeGees) {