diff options
author | Amit Mahajan <amitmahajan@google.com> | 2014-10-10 14:23:22 -0700 |
---|---|---|
committer | Amit Mahajan <amitmahajan@google.com> | 2014-10-10 14:40:44 -0700 |
commit | 4d49e3f5b1736e2bdef1445c6c57809435ce8e80 (patch) | |
tree | b90a8e35832d961b61d14c6c6f359b80ced72f10 /src/com | |
parent | 742a6803c31692f6cf0b36ef934cf1e9bc9b01d8 (diff) | |
download | packages_apps_Settings-4d49e3f5b1736e2bdef1445c6c57809435ce8e80.tar.gz packages_apps_Settings-4d49e3f5b1736e2bdef1445c6c57809435ce8e80.tar.bz2 packages_apps_Settings-4d49e3f5b1736e2bdef1445c6c57809435ce8e80.zip |
Fix to show signal strength as 0 if out of service.
Bug: 17942583
Change-Id: I399e5352b4585cff42ee5c7dd164315c1797110a
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/settings/deviceinfo/Status.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/settings/deviceinfo/Status.java b/src/com/android/settings/deviceinfo/Status.java index 2c3d82782..bb71a0259 100644 --- a/src/com/android/settings/deviceinfo/Status.java +++ b/src/com/android/settings/deviceinfo/Status.java @@ -546,6 +546,7 @@ public class Status extends PreferenceActivity { if ((ServiceState.STATE_OUT_OF_SERVICE == state) || (ServiceState.STATE_POWER_OFF == state)) { mSignalStrength.setSummary("0"); + return; } int signalDbm = mPhoneStateReceiver.getSignalStrengthDbm(); |