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

Commit b5c78682 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Fix to show low LTE signal strength as -140 instead of 0.

Bug: 17942583
Change-Id: I399e5352b4585cff42ee5c7dd164315c1797110a
parent 2c461def
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -533,10 +533,9 @@ public class SignalStrength implements Parcelable {
        int dBm;

        if(isGsm()) {
            if (getLteLevel() == SIGNAL_STRENGTH_NONE_OR_UNKNOWN) {
                dBm = getGsmDbm();
            } else {
            dBm = getLteDbm();
            if (dBm == INVALID) {
                dBm = getGsmDbm();
            }
        } else {
            int cdmaDbm = getCdmaDbm();