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

Commit 22d79153 authored by Selim Cinek's avatar Selim Cinek Committed by Android Git Automerger
Browse files

am 2306e0be: am 65ae25b4: Merge "Fixed a bug with low priotity notification coloring" into lmp-dev

* commit '2306e0be003b23fd4f06ab97407b122f3c4f7f5c':
  Fixed a bug with low priotity notification coloring
parents ea025088 9c20e55c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -171,7 +171,10 @@ public class StackScrollAlgorithm {
        for (int i = 0; i < childCount; i++) {
            View child = algorithmState.visibleChildren.get(i);
            StackScrollState.ViewState childViewState = resultState.getViewStateForView(child);
            childViewState.belowSpeedBump = speedBumpIndex != -1 && i > speedBumpIndex;

            // The speed bump can also be gone, so equality needs to be taken when comparing
            // indices.
            childViewState.belowSpeedBump = speedBumpIndex != -1 && i >= speedBumpIndex;
        }
    }