remove the DSDS dialog

If the sim onboarding on, then sim should use the sim onboarding flow.

Bug: 362289792
Test: manual test
Flag: EXEMPT bugfix
Change-Id: Ibe22309db9dea5737de5ad351825a046599e6744
This commit is contained in:
songferngwang
2024-09-23 10:39:56 +00:00
parent 04ef86d174
commit 6960464557

View File

@@ -206,7 +206,12 @@ public class SimSlotChangeHandler {
if (hasActiveEsimSubscription()) {
if (mTelMgr.isMultiSimSupported() == TelephonyManager.MULTISIM_ALLOWED) {
Log.i(TAG, "Enabled profile exists. DSDS condition satisfied.");
startDsdsDialogActivity();
if (Flags.isDualSimOnboardingEnabled()) {
// enable dsds by sim onboarding flow
handleRemovableSimInsertWhenDsds(removableSlotInfo);
} else {
startDsdsDialogActivity();
}
} else {
Log.i(TAG, "Enabled profile exists. DSDS condition not satisfied.");
startChooseSimActivity(true);