Merge "[Settings] Remove WFC enabled state condition of querying Telecomm." into udc-dev

This commit is contained in:
TreeHugger Robot
2023-05-04 14:57:36 +00:00
committed by Android (Google) Code Review
5 changed files with 14 additions and 47 deletions

View File

@@ -257,8 +257,10 @@ public class WifiCallingSettings extends SettingsPreferenceFragment
for (SubscriptionInfo subInfo : subInfoList) {
int subId = subInfo.getSubscriptionId();
try {
if (MobileNetworkUtils.isWifiCallingEnabled(getContext(), subId,
queryImsState(subId), null)) {
if (MobileNetworkUtils.isWifiCallingEnabled(
getContext(),
subId,
queryImsState(subId))) {
selectedList.add(subInfo);
}
} catch (Exception exception) {}