Modify the condition for hide Dds confirmed dialog

Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: manual test and verify the UI.
Change-Id: I68df36b457ea7479cd6a561f9c2b3c968e14fe44
This commit is contained in:
songferngwang
2024-02-29 07:07:24 +00:00
parent bb7360b148
commit b8d87d1add
2 changed files with 2 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ class SimOnboardingActivity : SpaBaseDialogActivity() {
if (onboardingService.activeSubInfoList.isEmpty()) { if (onboardingService.activeSubInfoList.isEmpty()) {
// TODO: refactor and replace the ToggleSubscriptionDialogActivity // TODO: refactor and replace the ToggleSubscriptionDialogActivity
Log.e(TAG, "onboardingService.activeSubInfoList is empty" + Log.d(TAG, "onboardingService.activeSubInfoList is empty" +
", start ToggleSubscriptionDialogActivity") ", start ToggleSubscriptionDialogActivity")
this.startActivity(ToggleSubscriptionDialogActivity this.startActivity(ToggleSubscriptionDialogActivity
.getIntent(this.applicationContext, targetSubId, true)) .getIntent(this.applicationContext, targetSubId, true))

View File

@@ -136,9 +136,7 @@ public class SimDialogActivity extends FragmentActivity {
} }
if (Flags.isDualSimOnboardingEnabled() if (Flags.isDualSimOnboardingEnabled()
&& getProgressState() == SubscriptionActionDialogActivity.PROGRESS_IS_SHOWING && (dialogType == DATA_PICK
&& (dialogType == PREFERRED_PICK
|| dialogType == DATA_PICK
|| dialogType == CALLS_PICK || dialogType == CALLS_PICK
|| dialogType == SMS_PICK)) { || dialogType == SMS_PICK)) {
Log.d(TAG, "Finish the sim dialog since the sim onboarding is shown"); Log.d(TAG, "Finish the sim dialog since the sim onboarding is shown");