Fix to show signal strength as 0 if out of service.
Bug: 17942583 Change-Id: I399e5352b4585cff42ee5c7dd164315c1797110a
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user