Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 009f0102 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Force hide notification dot until fade animation is complete." into ub-launcher3-qt-dev

parents 5ffdc9c6 5bbc3b70
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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);