diff options
author | Yorke Lee <yorkelee@google.com> | 2015-04-15 16:30:41 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-04-15 16:30:55 +0000 |
commit | e4c217ab2dd63b3d93a3e45d45ea67eabb2d3d35 (patch) | |
tree | 9077dda676b3b5a992d547b93a3b3e322f76a30a /InCallUI | |
parent | f9c7ada886bd52e9fc8ff1c59df0cceccfc3d366 (diff) | |
parent | 5b592ce22da61660c21752122d8172f7dbc0c796 (diff) |
Merge "Follow TelecomManager API changes"
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardPresenter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java index bd3694339..bddeea351 100644 --- a/InCallUI/src/com/android/incallui/CallCardPresenter.java +++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java @@ -589,7 +589,7 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi> PhoneAccount account = getAccountForCall(call); TelecomManager mgr = InCallPresenter.getInstance().getTelecomManager(); if (account != null && !TextUtils.isEmpty(account.getLabel()) - && mgr.hasMultipleCallCapableAccounts()) { + && mgr.getCallCapablePhoneAccounts().size() > 1) { return account.getLabel().toString(); } return null; |