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

Commit 7a5579bc authored by Romain Hunault's avatar Romain Hunault 💻
Browse files

Merge branch 'wallpaper_fix_q' into 'v1-q'

Wallpaper Resizing fix

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


    /**
    /**