<bool name="config_show4gForIWlan">false</bool>
<bool name="config_showSignalForIWlan">false</bool>
-
- <bool name="config_show_long_operator_name">false</bool>
- <bool name="config_show_long_operator_name_when_roaming">false</bool>
</resources>
mCurrentState.networkName = mServiceState.getOperatorAlphaShort();
}
- if (!showLongOperatorName() && mServiceState != null) {
- mCurrentState.networkNameData = TextUtils.isEmpty(mServiceState.
- getOperatorAlphaShort()) ? mCurrentState.networkNameData : mServiceState.
- getOperatorAlphaShort() + " " + getNetworkClassString(mServiceState);
- }
-
if (mConfig.readIconsFromXml) {
mCurrentState.voiceLevel = getVoiceSignalLevel();
}
return !mPhone.getDataEnabled(mSubscriptionInfo.getSubscriptionId());
}
- private boolean showLongOperatorName() {
- if (mContext.getResources().getBoolean(R.bool.config_show_long_operator_name) || (mContext.
- getResources().getBoolean(R.bool.config_show_long_operator_name_when_roaming) &&
- isRoaming())) {
- return true;
- }
- return false;
- }
-
private void generateIconGroup() {
final int level = mCurrentState.level;
final int voiceLevel = mCurrentState.voiceLevel;