diff options
author | Wink Saville <wink@google.com> | 2011-04-28 13:51:22 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-04-28 13:51:22 -0700 |
commit | 05fcd239abcdfe0c39e1d1d1f462478bf1e68e04 (patch) | |
tree | 8663c1c02c4b679475f2d614cfb3acff64cfe30e | |
parent | 379cbb1dcc4f9c7f4ca485bc34ec056e87456c8d (diff) | |
parent | 11cee41f3e2b0082a9b569fd8862a3d019b22104 (diff) | |
download | frameworks_base-05fcd239abcdfe0c39e1d1d1f462478bf1e68e04.zip frameworks_base-05fcd239abcdfe0c39e1d1d1f462478bf1e68e04.tar.gz frameworks_base-05fcd239abcdfe0c39e1d1d1f462478bf1e68e04.tar.bz2 |
Merge "Telephony: Corrections to signal strength values." into honeycomb-LTE
-rw-r--r-- | telephony/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telephony/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java b/telephony/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java index 109daf0..f019487 100644 --- a/telephony/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java +++ b/telephony/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java @@ -424,8 +424,8 @@ public class CdmaLteServiceStateTracker extends CdmaServiceStateTracker { : -1; if (networkType == ServiceState.RADIO_TECHNOLOGY_LTE) { lteRssi = (ints[offset + 5] >= 0) ? ints[offset + 5] : 99; - lteRsrp = (ints[offset + 6] > 0) ? -ints[offset + 7] : -1; - lteCqi = (ints[offset + 7] >= 0) ? ints[offset + 6] : 99; + lteRsrp = (ints[offset + 6] < 0) ? ints[offset + 6] : -1; + lteCqi = (ints[offset + 7] >= 0) ? ints[offset + 7] : 99; } if (networkType != ServiceState.RADIO_TECHNOLOGY_LTE) { |