[Settings] Avoid from Exception breaks the rule
When querying subscription(s) which not supported by telephony framework could lead to exception. Which will lead to incorrect control in code flow when filtering subscriptions which support WiFiCalling out of all subscriptions available. Bug: 149190278 Test: local Change-Id: I3b8bcea6c724cad83559159ed9435f0710594b83
This commit is contained in:
@@ -251,7 +251,7 @@ public class WifiCallingSettings extends InstrumentedFragment implements HelpRes
|
||||
if (queryImsState(subId).isWifiCallingProvisioned()) {
|
||||
selectedList.add(subInfo);
|
||||
}
|
||||
} finally {}
|
||||
} catch (Exception exception) {}
|
||||
}
|
||||
return selectedList;
|
||||
}
|
||||
|
Reference in New Issue
Block a user