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

Bug: 17942583
Change-Id: I399e5352b4585cff42ee5c7dd164315c1797110a
This commit is contained in:
Amit Mahajan
2014-10-10 14:41:44 -07:00
parent 2c461def93
commit b5c78682ad

View File

@@ -533,10 +533,9 @@ public class SignalStrength implements Parcelable {
int dBm;
if(isGsm()) {
if (getLteLevel() == SIGNAL_STRENGTH_NONE_OR_UNKNOWN) {
dBm = getLteDbm();
if (dBm == INVALID) {
dBm = getGsmDbm();
} else {
dBm = getLteDbm();
}
} else {
int cdmaDbm = getCdmaDbm();