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

Commit 100744fa authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "Fix stuck-open notification shade." into honeycomb

parents 808751fe 6869c187
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;
        }