diff options
Diffstat (limited to 'java/com/android/incallui/contactgrid/ContactGridManager.java')
-rw-r--r-- | java/com/android/incallui/contactgrid/ContactGridManager.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/java/com/android/incallui/contactgrid/ContactGridManager.java b/java/com/android/incallui/contactgrid/ContactGridManager.java index a0b687c2d..ddbceb052 100644 --- a/java/com/android/incallui/contactgrid/ContactGridManager.java +++ b/java/com/android/incallui/contactgrid/ContactGridManager.java @@ -320,14 +320,15 @@ public class ContactGridManager { bottomTextView.setAllCaps(info.isSpamIconVisible); workIconImageView.setVisibility(info.isWorkIconVisible ? View.VISIBLE : View.GONE); boolean wasHdIconVisible = hdIconImageView.getVisibility() == View.VISIBLE; - if (!wasHdIconVisible && info.isHdAttemptinIconVisible) { + hdIconImageView.setVisibility( + info.isHdIconVisible || info.isHdAttemptingIconVisible ? View.VISIBLE : View.GONE); + if (!wasHdIconVisible && info.isHdAttemptingIconVisible) { Animation animation = AnimationUtils.loadAnimation(context, R.anim.blinking); hdIconImageView.startAnimation(animation); - } else if (wasHdIconVisible && !info.isHdAttemptinIconVisible) { + } else if (wasHdIconVisible && !info.isHdAttemptingIconVisible) { hdIconImageView.clearAnimation(); + hdIconImageView.setAlpha(1f); } - hdIconImageView.setVisibility( - info.isHdIconVisible || info.isHdAttemptinIconVisible ? View.VISIBLE : View.GONE); forwardIconImageView.setVisibility(info.isForwardIconVisible ? View.VISIBLE : View.GONE); spamIconImageView.setVisibility(info.isSpamIconVisible ? View.VISIBLE : View.GONE); |