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

Commit 6869c187 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Fix stuck-open notification shade.

Reversing the animations isn't working well, but re-creating
them in the correct direction is, so we'll use that for now.

Bug: 3326529
Change-Id: I40fdbd1d02bb8028d4d1f1bceb15f2c335366063
parent 8896079d
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -251,14 +251,11 @@ public class NotificationPanel extends LinearLayout implements StatusBarPanel,

        void startAnimation(boolean visible) {
            if (DEBUG) Slog.d(TAG, "startAnimation(visible=" + visible + ")");
            if (mBgAnim != null && mVisible != visible) {
                mBgAnim.reverse();
                mPositionAnim.reverse();
            } else {

            createAnimation(visible);
            mBgAnim.start();
            mPositionAnim.start();
            }

            mVisible = visible;
        }