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

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

Merge "Ensuring that headsups go away when unpinning via active edge" into pi-dev

parents d9bd20b0 a303a64a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2360,6 +2360,14 @@ public class NotificationPanelView extends PanelView implements

    @Override
    public void onHeadsUpUnPinned(ExpandableNotificationRow headsUp) {

        // When we're unpinning the notification via active edge they remain heads-upped,
        // we need to make sure that an animation happens in this case, otherwise the notification
        // will stick to the top without any interaction.
        if (isFullyCollapsed() && headsUp.isHeadsUp()) {
            mNotificationStackScroller.generateHeadsUpAnimation(headsUp, false);
            headsUp.setHeadsUpIsVisible();
        }
    }

    @Override