diff options
author | Nancy Chen <nancychen@google.com> | 2014-09-17 03:47:48 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-17 03:47:48 +0000 |
commit | 99eda320ef958b537d3aa2d4d481486ef3007457 (patch) | |
tree | 8b8ae42d2f3d66db7681f7f7ba92eaf82691fd8d /InCallUI | |
parent | 9d48c5467b431c82791ed545cf440f253527e33e (diff) | |
parent | d4b372b6f9fcea403c074f0f275c32b8ff9e228d (diff) |
am 7f36b48a: am bf18b51b: Merge "Remove ability to enable/disable phoneaccounts (5/6)" into lmp-dev
* commit '7f36b48a713d452a610bdf870cde95ee5d21519f':
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; |