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:
@@ -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))
|
||||||
|
@@ -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");
|
||||||
|
Reference in New Issue
Block a user