Loading src/com/android/server/telecom/PhoneAccountRegistrar.java +9 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import android.telecom.PhoneAccount; import android.telecom.PhoneAccountHandle; import android.telecom.TelecomManager; import android.telephony.PhoneNumberUtils; import android.telephony.SubscriptionManager; import android.content.ComponentName; import android.content.Context; import android.net.Uri; Loading Loading @@ -217,6 +218,14 @@ public final class PhoneAccountRegistrar { return; } if (getPhoneAccount(accountHandle).hasCapabilities( PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) { // If the account selected is a SIM account, propagate down to the subscription // record. long subId = getSubscriptionIdForPhoneAccount(accountHandle); SubscriptionManager.setDefaultVoiceSubId(subId); } mState.defaultOutgoing = accountHandle; } Loading Loading
src/com/android/server/telecom/PhoneAccountRegistrar.java +9 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import android.telecom.PhoneAccount; import android.telecom.PhoneAccountHandle; import android.telecom.TelecomManager; import android.telephony.PhoneNumberUtils; import android.telephony.SubscriptionManager; import android.content.ComponentName; import android.content.Context; import android.net.Uri; Loading Loading @@ -217,6 +218,14 @@ public final class PhoneAccountRegistrar { return; } if (getPhoneAccount(accountHandle).hasCapabilities( PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) { // If the account selected is a SIM account, propagate down to the subscription // record. long subId = getSubscriptionIdForPhoneAccount(accountHandle); SubscriptionManager.setDefaultVoiceSubId(subId); } mState.defaultOutgoing = accountHandle; } Loading