Merge "Force hide notification dot until fade animation is complete." into ub-launcher3-qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
009f0102b9
@@ -568,6 +568,17 @@ public class FloatingIconView extends View implements
|
||||
}
|
||||
});
|
||||
|
||||
if (originalView instanceof BubbleTextView) {
|
||||
BubbleTextView btv = (BubbleTextView) originalView;
|
||||
btv.forceHideDot(true);
|
||||
fade.addListener(new AnimatorListenerAdapter() {
|
||||
@Override
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
btv.forceHideDot(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (originalView instanceof FolderIcon) {
|
||||
FolderIcon folderIcon = (FolderIcon) originalView;
|
||||
folderIcon.setBackgroundVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user