Merge "Fix the primary sim setup after the psim enabled" into main

This commit is contained in:
SongFerng Wang
2024-03-27 09:00:38 +00:00
committed by Android (Google) Code Review

View File

@@ -338,11 +338,6 @@ class SimOnboardingService {
suspend fun startSetupPrimarySim(context: Context) {
withContext(Dispatchers.Default) {
if (SubscriptionUtil.getActiveSubscriptions(subscriptionManager).size <= 1) {
Log.d(TAG,
"startSetupPrimarySim: number of active subscriptionInfo is less than 2"
)
} else {
setDefaultVoice(subscriptionManager, targetPrimarySimCalls)
setDefaultSms(subscriptionManager, targetPrimarySimTexts)
setDefaultData(
@@ -358,7 +353,6 @@ class SimOnboardingService {
}
// no next action, send finish
callback(CallbackType.CALLBACK_FINISH)
}
}
suspend fun startEnableDsds(context: Context) {