Fix the primary sim setup after the psim enabled
The psim is not loaded, the active subscriptionInfo is not changed Bug: 329031686 Test: verify 10 times passed. Change-Id: Idf70aaac8571af8501becb94689f4ae447e8771d
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user