am 589a4896: am c6c18618: Merge "Fix to show low LTE signal strength as -140 instead of 0." into lmp-dev
* commit '589a4896b0c45f03604db1eb0292ef1c936adaff': Fix to show low LTE signal strength as -140 instead of 0.
This commit is contained in:
@@ -533,10 +533,9 @@ public class SignalStrength implements Parcelable {
|
|||||||
int dBm;
|
int dBm;
|
||||||
|
|
||||||
if(isGsm()) {
|
if(isGsm()) {
|
||||||
if (getLteLevel() == SIGNAL_STRENGTH_NONE_OR_UNKNOWN) {
|
dBm = getLteDbm();
|
||||||
|
if (dBm == INVALID) {
|
||||||
dBm = getGsmDbm();
|
dBm = getGsmDbm();
|
||||||
} else {
|
|
||||||
dBm = getLteDbm();
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
int cdmaDbm = getCdmaDbm();
|
int cdmaDbm = getCdmaDbm();
|
||||||
|
|||||||
Reference in New Issue
Block a user