Clean up aconfig flag oem_enabled_satellite_flag

Bug: 374994012
Test: atest SubscriptionInfoListViewModelTest
Test: manual test in live network
FLAG: EXEMPT flag clean up
Change-Id: Ib9f9f692658df13aad45f2e889a48f2bffed9ed4
This commit is contained in:
Hakjun Choi
2025-02-03 07:25:55 +00:00
parent e8afedea91
commit 3f5cf60cc7
7 changed files with 7 additions and 34 deletions

View File

@@ -35,7 +35,6 @@ import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import androidx.appcompat.app.AlertDialog;
import com.android.internal.telephony.flags.Flags;
import com.android.settings.R;
import com.android.settings.network.SubscriptionUtil;
@@ -137,12 +136,10 @@ public class SelectSpecificDataSimDialogFragment extends SimDialogFragment imple
if ((newSubInfo.isEmbedded()
&& (newSubInfo.getProfileClass() == PROFILE_CLASS_PROVISIONING
|| (Flags.oemEnabledSatelliteFlag()
&& newSubInfo.isOnlyNonTerrestrialNetwork())))
|| newSubInfo.isOnlyNonTerrestrialNetwork()))
|| (currentDataSubInfo.isEmbedded()
&& (currentDataSubInfo.getProfileClass() == PROFILE_CLASS_PROVISIONING
|| (Flags.oemEnabledSatelliteFlag()
&& currentDataSubInfo.isOnlyNonTerrestrialNetwork())))) {
|| currentDataSubInfo.isOnlyNonTerrestrialNetwork()))) {
Log.d(TAG, "do not set the provisioning or satellite eSIM");
dismiss();
return;