diff options
author | mdooley <mdooley@google.com> | 2017-12-27 13:48:57 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-27 13:51:12 -0800 |
commit | 2cd229918629b59fa7630805945f5874cd1b5a5e (patch) | |
tree | b310c6eaf45d6649479a531069a030688623e157 | |
parent | e1ec439563705d47f699a565c35eff4bc0dcbf61 (diff) |
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
-rw-r--r-- | java/com/android/dialer/app/calllog/PhoneCallDetailsHelper.java | 1 |
1 files changed, 1 insertions, 0 deletions
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); |