summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authortwyen <twyen@google.com>2018-05-03 15:04:54 -0700
committerCopybara-Service <copybara-piper@google.com>2018-05-04 15:57:34 -0700
commitbc258a50efe33210ff698cefcfaeb5c4bb401183 (patch)
tree5cdcf7539b5b2af5ad1e44aaaef57d17b3268892 /java
parent253b4407c125acbb7add26592ba782144c4d0366 (diff)
Mark photo info as voicemails in bottom sheet
TEST=TAP Bug: 79089209 Test: TAP PiperOrigin-RevId: 195317152 Change-Id: I2d456dc786f2ea6555b76d3ef6721140acee7413
Diffstat (limited to 'java')
-rw-r--r--java/com/android/dialer/calllog/ui/menu/BottomSheetHeader.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/android/dialer/calllog/ui/menu/BottomSheetHeader.java b/java/com/android/dialer/calllog/ui/menu/BottomSheetHeader.java
index d87888d34..4e25cedf4 100644
--- a/java/com/android/dialer/calllog/ui/menu/BottomSheetHeader.java
+++ b/java/com/android/dialer/calllog/ui/menu/BottomSheetHeader.java
@@ -34,6 +34,7 @@ final class BottomSheetHeader {
NumberAttributesConverter.toPhotoInfoBuilder(row.getNumberAttributes())
.setFormattedNumber(row.getFormattedNumber())
.setIsVideo((row.getFeatures() & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO)
+ .setIsVoicemail(row.getIsVoicemailCall())
.setIsRtt(
BuildCompat.isAtLeastP()
&& (row.getFeatures() & Calls.FEATURES_RTT) == Calls.FEATURES_RTT)