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

Commit 1c36a3c7 authored by Shawn Lee's avatar Shawn Lee Committed by Android (Google) Code Review
Browse files

Merge "[flexiglass] Add legacy assertion to NSSL.setOverScrollAmount" into main

parents 1551a5bf e4f472cd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2316,6 +2316,7 @@ public class NotificationStackScrollLayout

    private void setOverScrollAmountInternal(float amount, boolean onTop, boolean animate,
                                             boolean isRubberbanded) {
        SceneContainerFlag.assertInLegacyMode();
        amount = Math.max(0, amount);
        if (animate) {
            mStateAnimator.animateOverScrollToAmount(amount, onTop, isRubberbanded);