[Settings] Should not show WFC UI in the SIM page if the SIM does not
support WFC Bug: 270792637 Test: manual Change-Id: Ic67bd2e766d66c91fc4b0fcf5a5355debd805ac6
This commit is contained in:
@@ -257,7 +257,8 @@ public class WifiCallingSettings extends SettingsPreferenceFragment
|
||||
for (SubscriptionInfo subInfo : subInfoList) {
|
||||
int subId = subInfo.getSubscriptionId();
|
||||
try {
|
||||
if (queryImsState(subId).isWifiCallingProvisioned()) {
|
||||
if (MobileNetworkUtils.isWifiCallingEnabled(getContext(), subId,
|
||||
queryImsState(subId), null)) {
|
||||
selectedList.add(subInfo);
|
||||
}
|
||||
} catch (Exception exception) {}
|
||||
|
Reference in New Issue
Block a user