summaryrefslogtreecommitdiffstats
path: root/telephony/java
diff options
context:
space:
mode:
authorJohn Wang <johnwang@google.com>2012-01-11 14:47:19 -0800
committerJohn Wang <johnwang@google.com>2012-01-11 14:47:19 -0800
commit6ad68ba9d99d48cc5c189dc7e32e577f56ce51fd (patch)
treedf680e5ad696d17fa791fc36bcc9972f12514f10 /telephony/java
parent51938e26913a98aa8de0292e9be8ea9d9ebc67c3 (diff)
downloadframeworks_base-6ad68ba9d99d48cc5c189dc7e32e577f56ce51fd.zip
frameworks_base-6ad68ba9d99d48cc5c189dc7e32e577f56ce51fd.tar.gz
frameworks_base-6ad68ba9d99d48cc5c189dc7e32e577f56ce51fd.tar.bz2
Adjust the mapping of LTE signal bars.
bug:5640958 Change-Id: I91efc5a81b505aae59dac9b1d69314efaffda6b6
Diffstat (limited to 'telephony/java')
-rw-r--r--telephony/java/android/telephony/SignalStrength.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/telephony/java/android/telephony/SignalStrength.java b/telephony/java/android/telephony/SignalStrength.java
index a88825b..3128592 100644
--- a/telephony/java/android/telephony/SignalStrength.java
+++ b/telephony/java/android/telephony/SignalStrength.java
@@ -568,10 +568,10 @@ public class SignalStrength implements Parcelable {
int levelLteRsrp = 0;
if (mLteRsrp == -1) levelLteRsrp = 0;
- else if (mLteRsrp >= -85) levelLteRsrp = SIGNAL_STRENGTH_GREAT;
- else if (mLteRsrp >= -95) levelLteRsrp = SIGNAL_STRENGTH_GOOD;
- else if (mLteRsrp >= -105) levelLteRsrp = SIGNAL_STRENGTH_MODERATE;
- else if (mLteRsrp >= -115) levelLteRsrp = SIGNAL_STRENGTH_POOR;
+ else if (mLteRsrp >= -90) levelLteRsrp = SIGNAL_STRENGTH_GREAT;
+ else if (mLteRsrp >= -100) levelLteRsrp = SIGNAL_STRENGTH_GOOD;
+ else if (mLteRsrp >= -110) levelLteRsrp = SIGNAL_STRENGTH_MODERATE;
+ else if (mLteRsrp >= -118) levelLteRsrp = SIGNAL_STRENGTH_POOR;
else levelLteRsrp = 0;
if (DBG) log("Lte level: "+levelLteRsrp);