diff options
author | Nancy Chen <nancychen@google.com> | 2014-09-17 04:02:15 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-17 04:02:15 +0000 |
commit | 308d9150656f1af0609debaa66e35617586dd398 (patch) | |
tree | 7075a207e33049a2b02246b96bf09ff674b6d4c0 /InCallUI | |
parent | 49ab56dee7afb27f423adb59a6c38c6962423898 (diff) | |
parent | 99eda320ef958b537d3aa2d4d481486ef3007457 (diff) |
am 7b7d448c: am 7f36b48a: am bf18b51b: Merge "Remove ability to enable/disable phoneaccounts (5/6)" into lmp-dev
* commit '7b7d448cf841ef1e77eaeea3d664e78a45575523':
Remove ability to enable/disable phoneaccounts (5/6)
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardPresenter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java index 3e793ce45..bc6a120ac 100644 --- a/InCallUI/src/com/android/incallui/CallCardPresenter.java +++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java @@ -532,7 +532,7 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi> */ private Drawable getCallProviderIcon(Call call) { PhoneAccount account = getAccountForCall(call); - if (account != null && getTelecomManager().hasMultipleEnabledAccounts()) { + if (account != null && getTelecomManager().hasMultipleCallCapableAccounts()) { return account.getIcon(mContext); } return null; @@ -543,7 +543,7 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi> */ private String getCallProviderLabel(Call call) { PhoneAccount account = getAccountForCall(call); - if (account != null && getTelecomManager().hasMultipleEnabledAccounts()) { + if (account != null && getTelecomManager().hasMultipleCallCapableAccounts()) { return account.getLabel().toString(); } return null; |