Animate aways Notification Dots for Taskbar Pinning Annimation

Test: Manual
Bug: 308460959
Flag: LEGACY ENABLE_TASKBAR_PINNING DISABLED
Change-Id: Ic16881c05c70ed717dc63131d94ece805c39f6fc
This commit is contained in:
Jagrut Desai
2023-10-30 12:15:22 -07:00
parent 1e63858559
commit 47bf322e21
3 changed files with 15 additions and 2 deletions

View File

@@ -294,7 +294,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() {
@@ -646,7 +646,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
return mForceHideDot;
}
private boolean hasDot() {
public boolean hasDot() {
return mDotInfo != null;
}