Merge "Modify the condition for hide Dds confirmed dialog" into main

This commit is contained in:
SongFerng Wang
2024-02-29 11:27:05 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 4 deletions

View File

@@ -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))

View File

@@ -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");