From 0182e001d3e73f3a4354ba7550e1e5b001a7bce5 Mon Sep 17 00:00:00 2001 From: linyuh Date: Fri, 30 Mar 2018 09:01:44 -0700 Subject: Differentiate video call types (carrier/Duo) in call descriptions for the new UI. Bug: 70988686 Test: CallLogEntryTextTest PiperOrigin-RevId: 191071267 Change-Id: I392e3b4c47e266f0a553fe28079d4800fc174a8f --- .../dialer/calllogutils/CallLogEntryText.java | 60 ++++++++++++++-------- .../dialer/calllogutils/res/values/strings.xml | 7 ++- 2 files changed, 43 insertions(+), 24 deletions(-) diff --git a/java/com/android/dialer/calllogutils/CallLogEntryText.java b/java/com/android/dialer/calllogutils/CallLogEntryText.java index c77869169..e346de011 100644 --- a/java/com/android/dialer/calllogutils/CallLogEntryText.java +++ b/java/com/android/dialer/calllogutils/CallLogEntryText.java @@ -20,6 +20,7 @@ import android.content.Context; import android.provider.CallLog.Calls; import android.text.TextUtils; import com.android.dialer.calllog.model.CoalescedRow; +import com.android.dialer.duo.DuoConstants; import com.android.dialer.time.Clock; import com.google.common.base.Optional; import com.google.common.collect.Collections2; @@ -72,20 +73,22 @@ public final class CallLogEntryText { *

Rules: * *

* *

Examples: * *