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

Commit fb457ad9 authored by Mohit Mali's avatar Mohit Mali Committed by Romain Hunault
Browse files

Wallpaper Resizing fix

parent c705a24a
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -91,18 +91,12 @@ class ImageRevealHelper {
        }
        mAnimator.cancel();
        mAwake = awake;
        if (duration == 0) {
            // We are transiting from home to aod or aod to home directly,
            // we don't need to do transition in these cases.
            mReveal = mAwake ? MAX_REVEAL : MIN_REVEAL;
            mRevealListener.onRevealStart(false /* animate */);
            mRevealListener.onRevealStateChanged();
            mRevealListener.onRevealEnd();
        } else {
            mAnimator.setDuration(duration);
            mAnimator.setFloatValues(mReveal, mAwake ? MAX_REVEAL : MIN_REVEAL);
            mAnimator.start();
        }
    }

    /**