NR is lower priority than all other signal strengths am: 105fe9349a

Change-Id: Ifc093d581a8bb5e79a9238bebf6bbdb6e94eac66
This commit is contained in:
Rambo Wang
2020-04-28 06:26:26 +00:00
committed by Automerger Merge Worker

View File

@@ -190,12 +190,12 @@ public class SignalStrength implements Parcelable {
private CellSignalStrength getPrimary() {
// This behavior is intended to replicate the legacy behavior of getLevel() by prioritizing
// newer faster RATs for default/for display purposes.
if (mNr.isValid()) return mNr;
if (mLte.isValid()) return mLte;
if (mCdma.isValid()) return mCdma;
if (mTdscdma.isValid()) return mTdscdma;
if (mWcdma.isValid()) return mWcdma;
if (mGsm.isValid()) return mGsm;
if (mNr.isValid()) return mNr;
return mLte;
}