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

Commit 496126aa authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a hole in the shade that could exist with heads up

Change-Id: Ia7c36c717287e1c63218c105da83b41f0a40bc4b
parent 7d6407d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -544,7 +544,7 @@ public class StackScrollAlgorithm {
            if (row.isPinned()) {
                childState.yTranslation = Math.max(childState.yTranslation,
                        mNotificationsTopPadding);
                childState.height = row.getHeadsUpHeight();
                childState.height = Math.max(row.getHeadsUpHeight(), childState.height);
                if (!isTopEntry) {
                    // Ensure that a headsUp doesn't vertically extend further than the heads-up at
                    // the top most z-position