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:
@@ -136,10 +136,12 @@ public class SelectSpecificDataSimDialogFragment extends SimDialogFragment imple
|
||||
|
||||
if ((newSubInfo.isEmbedded()
|
||||
&& (newSubInfo.getProfileClass() == PROFILE_CLASS_PROVISIONING
|
||||
|| (Flags.oemEnabledSatelliteFlag() && newSubInfo.isNtn())))
|
||||
|| (Flags.oemEnabledSatelliteFlag()
|
||||
&& newSubInfo.isOnlyNonTerrestrialNetwork())))
|
||||
|| (currentDataSubInfo.isEmbedded()
|
||||
&& (currentDataSubInfo.getProfileClass() == PROFILE_CLASS_PROVISIONING
|
||||
|| (Flags.oemEnabledSatelliteFlag() && currentDataSubInfo.isNtn())))) {
|
||||
|| (Flags.oemEnabledSatelliteFlag()
|
||||
&& currentDataSubInfo.isOnlyNonTerrestrialNetwork())))) {
|
||||
Log.d(TAG, "do not set the provisioning or satellite eSIM");
|
||||
dismiss();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user