summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/calllogutils
diff options
context:
space:
mode:
authorlinyuh <linyuh@google.com>2018-04-10 10:04:15 -0700
committerCopybara-Service <copybara-piper@google.com>2018-04-10 10:05:07 -0700
commitfc1026477ecd034b73289bde11902bd1196a42cb (patch)
tree3d9e708a235b7e23f3658bf2fcaddbc7c1b4b185 /java/com/android/dialer/calllogutils
parenta5cefeb5cf93f2e6256eced1302f4187f5450c93 (diff)
For an audio call log entry, add a video call option in the bottom sheet if the capability is present.
Bug: 70989603 Test: ModulesTest PiperOrigin-RevId: 192302145 Change-Id: I3162e7d22223aa02709d0d401c70c6fc37a00e3b
Diffstat (limited to 'java/com/android/dialer/calllogutils')
-rw-r--r--java/com/android/dialer/calllogutils/NumberAttributesConverter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/dialer/calllogutils/NumberAttributesConverter.java b/java/com/android/dialer/calllogutils/NumberAttributesConverter.java
index 24567e027..f4fab8405 100644
--- a/java/com/android/dialer/calllogutils/NumberAttributesConverter.java
+++ b/java/com/android/dialer/calllogutils/NumberAttributesConverter.java
@@ -55,6 +55,7 @@ public final class NumberAttributesConverter {
.setIsSpam(phoneLookupInfoConsolidator.isSpam())
.setCanReportAsInvalidNumber(phoneLookupInfoConsolidator.canReportAsInvalidNumber())
.setIsCp2InfoIncomplete(phoneLookupInfoConsolidator.isDefaultCp2InfoIncomplete())
- .setContactSource(phoneLookupInfoConsolidator.getContactSource());
+ .setContactSource(phoneLookupInfoConsolidator.getContactSource())
+ .setCanSupportCarrierVideoCall(phoneLookupInfoConsolidator.canSupportCarrierVideoCall());
}
}