Loading src/com/android/settings/network/telephony/NetworkProviderWifiCallingGroup.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -217,7 +217,12 @@ public class NetworkProviderWifiCallingGroup extends pref.setEnabled(getTelephonyManagerForSubscriptionId(subId).getCallState() pref.setEnabled(getTelephonyManagerForSubscriptionId(subId).getCallState() == TelephonyManager.CALL_STATE_IDLE); == TelephonyManager.CALL_STATE_IDLE); pref.setOrder(order++); pref.setOrder(order++); pref.setSummary(R.string.calls_sms_wfc_summary); int resId = com.android.internal.R.string.wifi_calling_off_summary; if (queryImsState(subId).isEnabledByUser()) { resId = R.string.calls_sms_wfc_summary; } pref.setSummary(resId); mWifiCallingForSubPreferences.put(subId, pref); mWifiCallingForSubPreferences.put(subId, pref); } } Loading Loading
src/com/android/settings/network/telephony/NetworkProviderWifiCallingGroup.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -217,7 +217,12 @@ public class NetworkProviderWifiCallingGroup extends pref.setEnabled(getTelephonyManagerForSubscriptionId(subId).getCallState() pref.setEnabled(getTelephonyManagerForSubscriptionId(subId).getCallState() == TelephonyManager.CALL_STATE_IDLE); == TelephonyManager.CALL_STATE_IDLE); pref.setOrder(order++); pref.setOrder(order++); pref.setSummary(R.string.calls_sms_wfc_summary); int resId = com.android.internal.R.string.wifi_calling_off_summary; if (queryImsState(subId).isEnabledByUser()) { resId = R.string.calls_sms_wfc_summary; } pref.setSummary(resId); mWifiCallingForSubPreferences.put(subId, pref); mWifiCallingForSubPreferences.put(subId, pref); } } Loading