From 7f15106e2f51919306f2cea1f9308ea673d4a701 Mon Sep 17 00:00:00 2001 From: calderwoodra Date: Wed, 20 Sep 2017 11:25:53 -0700 Subject: Added some bug fixes in call details. When a user dials a number with post dial digits, they are now carried to contact details and used when they redial that number. Additionally, when a user clicks on a photo in call details, they will be taken to Bugle now. This behavior already exists with messages in CD. Bug: 62236726,62230491 Test: CDEVHT PiperOrigin-RevId: 169422921 Change-Id: I1507cb64876540cfc9a683a5a1ea01910443f77b --- java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'java/com/android/dialer/app/calllog') diff --git a/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java b/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java index ef6236bf0..301d89576 100644 --- a/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java +++ b/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java @@ -967,6 +967,11 @@ public final class CallLogListItemViewHolder extends RecyclerView.ViewHolder if (number != null) { contact.setNumber(number); } + + if (!TextUtils.isEmpty(postDialDigits)) { + contact.setPostDialDigits(postDialDigits); + } + /* second line of contact view. */ if (!TextUtils.isEmpty(info.name)) { contact.setDisplayNumber(displayNumber); -- cgit v1.2.3