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

Commit 94fa7f21 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

Change-Id: If4ed2779d3fd1a2f2b3f2dc65d0d7a9a1d7d72bc
parents dc901a63 2b7fbd01
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;