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

Commit f829d588 authored by Matthew Ng's avatar Matthew Ng Committed by android-build-merger
Browse files

Merge "End button fade animation when its visiblity changes" into qt-dev

am: ab662fe8

Change-Id: Ib89d68724cc8d1c57304f3cae257b96e6b73dbbc
parents c687e2c1 ab662fe8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -141,6 +141,11 @@ public class ButtonDispatcher {

    public void setVisibility(int visibility) {
        if (mVisibility == visibility) return;
        if (mFadeAnimator != null) {
            mFadeAnimator.cancel();
            mFadeAnimator = null;
        }

        mVisibility = visibility;
        final int N = mViews.size();
        for (int i = 0; i < N; i++) {