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

Commit 7d8696c8 authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

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

am: bc64c0d5

Change-Id: I668bf4f0978d505fa419852a1d87733893771b30
parents 764ab137 bc64c0d5
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