[Settings] Remove WFC enabled state condition of querying Telecomm.
- Query WFC enabled state by querying Telecomm may have problem. - Only use ImsMmTelManager API to check WFC enabled state. Bug: 278108377 Test: atest passed Change-Id: I6d1122bcf66ed5cd274e99b7b4f13558ab922162
This commit is contained in:
@@ -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) {}
|
||||
|
Reference in New Issue
Block a user