summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-04-15 16:30:41 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-04-15 16:30:55 +0000
commite4c217ab2dd63b3d93a3e45d45ea67eabb2d3d35 (patch)
tree9077dda676b3b5a992d547b93a3b3e322f76a30a
parentf9c7ada886bd52e9fc8ff1c59df0cceccfc3d366 (diff)
parent5b592ce22da61660c21752122d8172f7dbc0c796 (diff)
Merge "Follow TelecomManager API changes"
-rw-r--r--InCallUI/src/com/android/incallui/CallCardPresenter.java2
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;