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

Commit 98b0186e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "StatusBar: Customize signal level for LTE"

parents f7e5005c 5da4c6b4
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -640,10 +640,12 @@ public class MSimNetworkController extends NetworkController {
                } else {
                    mLastSignalLevel = iconLevel = mMSimSignalStrength[subscription].getLevel();
                    if (mShowRsrpSignalLevelforLTE) {
                        if (mServiceState.getDataNetworkType() ==
                        if (mMSimServiceState[subscription].getDataNetworkType() ==
                                TelephonyManager.NETWORK_TYPE_LTE) {
                            mLastSignalLevel = iconLevel =
                                    mSignalStrength.getAlternateLteLevel();
                            int level = mMSimSignalStrength[subscription].getAlternateLteLevel();
                            mLastSignalLevel = iconLevel = (level == -1 ? 0 : level);
                            Slog.d(TAG, "updateTelephonySignalStrength, data type is lte, level = "
                                + level + " | " + mMSimSignalStrength[subscription]);
                        }
                    }
                }
+5 −3
Original line number Diff line number Diff line
@@ -711,8 +711,10 @@ public class NetworkController extends BroadcastReceiver implements DemoMode {
                    if (mShowRsrpSignalLevelforLTE) {
                        if (mServiceState.getDataNetworkType() ==
                                TelephonyManager.NETWORK_TYPE_LTE) {
                            mLastSignalLevel = iconLevel =
                                    mSignalStrength.getAlternateLteLevel();
                            int level = mSignalStrength.getAlternateLteLevel();
                            mLastSignalLevel = iconLevel = (level == -1 ? 0 : level);
                            Log.d(TAG, "updateTelephonySignalStrength, data type is lte, level = "
                                + level + " | " + mSignalStrength);
                        }
                    }
                }
+1 −1

File changed.

Contains only whitespace changes.