Merge "Handle the sim switch for restricted ss mode case" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
30af231cc4
@@ -122,9 +122,10 @@ class SimOnboardingActivity : SpaBaseDialogActivity() {
|
||||
return
|
||||
}
|
||||
|
||||
if (onboardingService.activeSubInfoList.isEmpty()) {
|
||||
if (onboardingService.activeSubInfoList.isEmpty()
|
||||
|| (!onboardingService.isMultiSimEnabled && !onboardingService.isMultiSimSupported)) {
|
||||
// TODO: refactor and replace the ToggleSubscriptionDialogActivity
|
||||
Log.d(TAG, "onboardingService.activeSubInfoList is empty" +
|
||||
Log.d(TAG, "onboardingService.activeSubInfoList is empty or restricted ss mode " +
|
||||
", start ToggleSubscriptionDialogActivity")
|
||||
this.startActivity(ToggleSubscriptionDialogActivity
|
||||
.getIntent(this.applicationContext, targetSubId, true))
|
||||
|
Reference in New Issue
Block a user