Changed API name from 'isNtn()' to 'isOnlyNonTerrestrialNetwork()' and updated related methods and variables according to API Council recommendations.
isNtn() -> isOnlyNonTerrestrialNetwork() No changes in logic. Bug: 301620244 Test: PreferredSimDialogFragmentTest SimListDialogFragmentTest Change-Id: I2b64262ed4d9f81f830f76b10a2174ad1e1d649f
This commit is contained in:
@@ -145,7 +145,7 @@ public class SimListDialogFragment extends SimDialogFragment {
|
||||
// Remove the provisioning or satellite eSIM from the subscription list.
|
||||
currentSubscriptions.removeIf(info -> info.isEmbedded()
|
||||
&& (info.getProfileClass() == PROFILE_CLASS_PROVISIONING
|
||||
|| (Flags.oemEnabledSatelliteFlag() && info.isNtn())));
|
||||
|| (Flags.oemEnabledSatelliteFlag() && info.isOnlyNonTerrestrialNetwork())));
|
||||
|
||||
boolean includeAskEveryTime = getArguments().getBoolean(KEY_INCLUDE_ASK_EVERY_TIME);
|
||||
boolean isCancelItemShowed = getArguments().getBoolean(KEY_SHOW_CANCEL_ITEM);
|
||||
|
||||
Reference in New Issue
Block a user