Loading src/com/android/dialer/calllog/PhoneAccountUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ public class PhoneAccountUtils { final TelecomManager telecomManager = (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); final PhoneAccount account = telecomManager.getPhoneAccount(phoneAccount); if (account == null || !telecomManager.hasMultipleEnabledAccounts()) { if (account == null || !telecomManager.hasMultipleCallCapableAccounts()) { return null; } return account; Loading tests/src/com/android/dialer/tests/calllog/FillCallLogTestActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -399,7 +399,7 @@ public class FillCallLogTestActivity extends Activity { private PhoneAccountHandle getManualAccount() { TelecomManager telecomManager = TelecomManager.from(this); List <PhoneAccountHandle> accountHandles = telecomManager.getEnabledPhoneAccounts(); List <PhoneAccountHandle> accountHandles = telecomManager.getCallCapablePhoneAccounts(); if (mAccount0.isChecked()) { return accountHandles.get(0); } else if (mAccount1.isChecked()){ Loading Loading
src/com/android/dialer/calllog/PhoneAccountUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ public class PhoneAccountUtils { final TelecomManager telecomManager = (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); final PhoneAccount account = telecomManager.getPhoneAccount(phoneAccount); if (account == null || !telecomManager.hasMultipleEnabledAccounts()) { if (account == null || !telecomManager.hasMultipleCallCapableAccounts()) { return null; } return account; Loading
tests/src/com/android/dialer/tests/calllog/FillCallLogTestActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -399,7 +399,7 @@ public class FillCallLogTestActivity extends Activity { private PhoneAccountHandle getManualAccount() { TelecomManager telecomManager = TelecomManager.from(this); List <PhoneAccountHandle> accountHandles = telecomManager.getEnabledPhoneAccounts(); List <PhoneAccountHandle> accountHandles = telecomManager.getCallCapablePhoneAccounts(); if (mAccount0.isChecked()) { return accountHandles.get(0); } else if (mAccount1.isChecked()){ Loading