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

Commit 7bc54b9b authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Merge "AOD: Fix shelf animating when it should not" into oc-dr1-dev am: 2b7fbd01

am: ceb0963f

Change-Id: Ib27b4d5f6252fc5349e391dbb375834d0e42b80b
parents 25a08bb2 ceb0963f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3714,6 +3714,9 @@ public class NotificationStackScrollLayout extends ViewGroup
     * See {@link AmbientState#setDark}.
     */
    public void setDark(boolean dark, boolean animate, @Nullable PointF touchWakeUpScreenLocation) {
        if (mAmbientState.isDark() == dark) {
            return;
        }
        mAmbientState.setDark(dark);
        if (animate && mAnimationsEnabled) {
            mDarkNeedsAnimation = true;