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

Commit f12a1575 authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

Merge "Fixed that snooze options were animating" into oc-dev

parents 3ba71171 e8ea7f61
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -145,15 +145,17 @@ public class NotificationSnooze extends LinearLayout
    }

    private void showSnoozeOptions(boolean show) {
        mExpanded = show;
        animateSnoozeOptions(show);
        int drawableId = show ? com.android.internal.R.drawable.ic_collapse_notification
                : com.android.internal.R.drawable.ic_expand_notification;
        mExpandButton.setImageResource(drawableId);
        if (mExpanded != show) {
            mExpanded = show;
            animateSnoozeOptions(show);
            if (mGutsContainer != null) {
                mGutsContainer.onHeightChanged();
            }
        }
    }

    private void animateSnoozeOptions(boolean show) {
        if (mExpandAnimation != null) {