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

Commit 8bfe8a87 authored by András Kurucz's avatar András Kurucz Committed by Android (Google) Code Review
Browse files

Merge "[Flexiglass] Always include the FooterView in the StackScrollAlgorithm" into main

parents 598ce6e7 0b6a8961
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -474,12 +474,11 @@ public class StackScrollAlgorithm {
                if (v instanceof EmptyShadeView) {
                    emptyShadeVisible = true;
                }
                if (v instanceof FooterView footerView) {
                if (!SceneContainerFlag.isEnabled() && v instanceof FooterView footerView) {
                    if (emptyShadeVisible || notGoneIndex == 0) {
                        // if the empty shade is visible or the footer is the first visible
                        // view, we're in a transitory state so let's leave the footer alone.
                        if (Flags.notificationsFooterVisibilityFix()
                                && !SceneContainerFlag.isEnabled()) {
                        if (Flags.notificationsFooterVisibilityFix()) {
                            // ...except for the hidden state, to prevent it from flashing on
                            // the screen (this piece is copied from updateChild, and is not
                            // necessary in flexiglass).