commit | 7ce6e78563893ef8da687787bd96d9b7d4af1ace | [log] [tgz] |
---|---|---|
author | Wink Saville <wink@google.com> | Mon Oct 27 10:56:46 2014 -0700 |
committer | Wink Saville <wink@google.com> | Mon Oct 27 10:56:46 2014 -0700 |
tree | 432b8fabc7a69e7c58b45eeb6a57ae1451f664be | |
parent | 3b62312e0596321c7bd256b90ddce46ade57e1c0 [diff] |
Fix a long subId. Change-Id: Ie512720965cf92591fb66996e1743b2b80612985
diff --git a/src/com/android/server/telecom/PhoneAccountRegistrar.java b/src/com/android/server/telecom/PhoneAccountRegistrar.java index 3b6192a..b5c078c 100644 --- a/src/com/android/server/telecom/PhoneAccountRegistrar.java +++ b/src/com/android/server/telecom/PhoneAccountRegistrar.java
@@ -211,7 +211,7 @@ PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) { // If the account selected is a SIM account, propagate down to the subscription // record. - long subId = getSubscriptionIdForPhoneAccount(accountHandle); + int subId = getSubscriptionIdForPhoneAccount(accountHandle); SubscriptionManager.setDefaultVoiceSubId(subId); }