am e912c9cc: Repair wifi/cellular kerning.
* commit 'e912c9cc39807f95815400981ed27d121e8b293a': Repair wifi/cellular kerning.
This commit is contained in:
@@ -277,9 +277,13 @@ public class SignalClusterView
|
||||
mWifiStrengthId));
|
||||
|
||||
boolean anyMobileVisible = false;
|
||||
int firstMobileTypeId = 0;
|
||||
for (PhoneState state : mPhoneStates) {
|
||||
if (state.apply(anyMobileVisible)) {
|
||||
anyMobileVisible = true;
|
||||
if (!anyMobileVisible) {
|
||||
firstMobileTypeId = state.mMobileTypeId;
|
||||
anyMobileVisible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -298,7 +302,7 @@ public class SignalClusterView
|
||||
mWifiAirplaneSpacer.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if ((anyMobileVisible || mNoSimsVisible) && mWifiVisible) {
|
||||
if (((anyMobileVisible && firstMobileTypeId != 0) || mNoSimsVisible) && mWifiVisible) {
|
||||
mWifiSignalSpacer.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
mWifiSignalSpacer.setVisibility(View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user