From 2cd229918629b59fa7630805945f5874cd1b5a5e Mon Sep 17 00:00:00 2001 From: mdooley Date: Wed, 27 Dec 2017 13:48:57 -0800 Subject: Fixing transcription branding UI bug Needed to set the branding text (to an empty string) when the transcription rating text is visible, so that both aren't displayed at the same time. Bug: 71361435 Test: manual PiperOrigin-RevId: 180218087 Change-Id: I04e485727267c306c7eb8f3780424855aaddebe5 --- java/com/android/dialer/app/calllog/PhoneCallDetailsHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/com/android/dialer/app/calllog/PhoneCallDetailsHelper.java b/java/com/android/dialer/app/calllog/PhoneCallDetailsHelper.java index 3898d1f24..794b759f2 100644 --- a/java/com/android/dialer/app/calllog/PhoneCallDetailsHelper.java +++ b/java/com/android/dialer/app/calllog/PhoneCallDetailsHelper.java @@ -197,6 +197,7 @@ public class PhoneCallDetailsHelper views.voicemailTranscriptionView.setText(transcript); if (showRatingPrompt) { views.voicemailTranscriptionBrandingView.setVisibility(View.GONE); + views.voicemailTranscriptionBrandingView.setText(branding); View ratingView = views.voicemailTranscriptionRatingView; ratingView.setVisibility(View.VISIBLE); -- cgit v1.2.3