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
diff --git a/java/com/android/dialer/app/calllog/PhoneCallDetailsHelper.java b/java/com/android/dialer/app/calllog/PhoneCallDetailsHelper.java
index 3898d1f..794b759 100644
--- a/java/com/android/dialer/app/calllog/PhoneCallDetailsHelper.java
+++ b/java/com/android/dialer/app/calllog/PhoneCallDetailsHelper.java
@@ -197,6 +197,7 @@
views.voicemailTranscriptionView.setText(transcript);
if (showRatingPrompt) {
views.voicemailTranscriptionBrandingView.setVisibility(View.GONE);
+ views.voicemailTranscriptionBrandingView.setText(branding);
View ratingView = views.voicemailTranscriptionRatingView;
ratingView.setVisibility(View.VISIBLE);