Merge "Animate aways Notification Dots for Taskbar Pinning Annimation" into main

This commit is contained in:
Jagrut Desai
2023-11-03 02:02:49 +00:00
committed by Android (Google) Code Review
3 changed files with 15 additions and 2 deletions

View File

@@ -301,7 +301,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
}
}
private void animateDotScale(float... dotScales) {
public void animateDotScale(float... dotScales) {
cancelDotScaleAnim();
mDotScaleAnim = ObjectAnimator.ofFloat(this, DOT_SCALE_PROPERTY, dotScales);
mDotScaleAnim.addListener(new AnimatorListenerAdapter() {
@@ -656,7 +656,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
return mForceHideDot;
}
private boolean hasDot() {
public boolean hasDot() {
return mDotInfo != null;
}