summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/calllogutils/CallLogEntryText.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-03-19 23:49:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-03-19 23:49:51 +0000
commita68f3429431c20b0740f0467935d944763ad06cd (patch)
tree7bd55b5175802fe3ac8fe4c45bf27cdd583ee580 /java/com/android/dialer/calllogutils/CallLogEntryText.java
parent6dda44d014c1d5edb11d707bdd270107c6553ffb (diff)
parentcd3d49843431913c2ff042d2294a8b5201877882 (diff)
Merge "Implement VoicemailDataSource"
Diffstat (limited to 'java/com/android/dialer/calllogutils/CallLogEntryText.java')
-rw-r--r--java/com/android/dialer/calllogutils/CallLogEntryText.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/com/android/dialer/calllogutils/CallLogEntryText.java b/java/com/android/dialer/calllogutils/CallLogEntryText.java
index ab851cbbd..6f1047cb7 100644
--- a/java/com/android/dialer/calllogutils/CallLogEntryText.java
+++ b/java/com/android/dialer/calllogutils/CallLogEntryText.java
@@ -48,6 +48,10 @@ public final class CallLogEntryText {
return presentationName.get();
}
+ if (row.isVoicemailCall() && !TextUtils.isEmpty(row.voicemailCallTag())) {
+ return row.voicemailCallTag();
+ }
+
// Otherwise prefer the name.
if (!TextUtils.isEmpty(row.numberAttributes().getName())) {
return row.numberAttributes().getName();