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

Commit b4a107d8 authored by Romain Guy's avatar Romain Guy
Browse files

Fix the lock screen.

parent e1d68307
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8282,7 +8282,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
     */
    public void clearAnimation() {
        if (mCurrentAnimation != null) {
            mCurrentAnimation.cancel();
            mCurrentAnimation.detach();
        }
        mCurrentAnimation = null;
    }
+10 −0
Original line number Diff line number Diff line
@@ -276,6 +276,16 @@ public abstract class Animation implements Cloneable {
        mMore = mOneMoreTime = false;
    }

    /**
     * @hide
     */
    public void detach() {
        if (mStarted && !mEnded) {
            if (mListener != null) mListener.onAnimationEnd(this);
            mEnded = true;
        }
    }

    /**
     * Whether or not the animation has been initialized.
     *