Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8d87d1a authored by songferngwang's avatar songferngwang
Browse files

Modify the condition for hide Dds confirmed dialog

Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: manual test and verify the UI.
Change-Id: I68df36b457ea7479cd6a561f9c2b3c968e14fe44
parent bb7360b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ class SimOnboardingActivity : SpaBaseDialogActivity() {

        if (onboardingService.activeSubInfoList.isEmpty()) {
            // TODO: refactor and replace the ToggleSubscriptionDialogActivity
            Log.e(TAG, "onboardingService.activeSubInfoList is empty" +
            Log.d(TAG, "onboardingService.activeSubInfoList is empty" +
                    ", start ToggleSubscriptionDialogActivity")
            this.startActivity(ToggleSubscriptionDialogActivity
                    .getIntent(this.applicationContext, targetSubId, true))
+1 −3
Original line number Diff line number Diff line
@@ -136,9 +136,7 @@ public class SimDialogActivity extends FragmentActivity {
        }

        if (Flags.isDualSimOnboardingEnabled()
                && getProgressState() == SubscriptionActionDialogActivity.PROGRESS_IS_SHOWING
                && (dialogType == PREFERRED_PICK
                || dialogType == DATA_PICK
                && (dialogType == DATA_PICK
                || dialogType == CALLS_PICK
                || dialogType == SMS_PICK)) {
            Log.d(TAG, "Finish the sim dialog since the sim onboarding is shown");