summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--InCallUI/src/com/android/incallui/CallCardPresenter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java
index 5f1fe3bd1..b66f41791 100644
--- a/InCallUI/src/com/android/incallui/CallCardPresenter.java
+++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java
@@ -576,7 +576,8 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi>
*/
private String getCallProviderLabel(Call call) {
PhoneAccount account = getAccountForCall(call);
- if (account != null && getTelecomManager().hasMultipleCallCapableAccounts()) {
+ if (account != null && !TextUtils.isEmpty(account.getLabel())
+ && getTelecomManager().hasMultipleCallCapableAccounts()) {
return account.getLabel().toString();
}
return null;