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

Commit 2b7fbd01 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 242c22c9 260c1f7c
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;