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

Commit 490990ea authored by Jeff DeCew's avatar Jeff DeCew Committed by Automerger Merge Worker
Browse files

Merge "Fix yet another clipTopAmount usage" into tm-dev am: 2d3b1c27 am:...

Merge "Fix yet another clipTopAmount usage" into tm-dev am: 2d3b1c27 am: 9e43e56e am: 589945df

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18748142



Change-Id: Iac2ef53b041cbb0808b88037cc39e9516964a41d
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 98e0d418 589945df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1663,7 +1663,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
                continue;
            }
            float childTop = slidingChild.getTranslationY();
            float top = childTop + slidingChild.getClipTopAmount();
            float top = childTop + Math.max(0, slidingChild.getClipTopAmount());
            float bottom = childTop + slidingChild.getActualHeight()
                    - slidingChild.getClipBottomAmount();