Merge "NR is lower priority than all other signal strengths" into rvc-dev am: 2939486f37 am: 3ef28f756c am: d1a77216ad
Change-Id: I0a3b82040014d9667b90abec915dd5201489d0aa
This commit is contained in:
@@ -188,12 +188,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user