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

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

Merge "Fixed a bug where the shelf could be stuck translating" into pi-dev

parents 5d0af8d3 51810d56
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -151,12 +151,11 @@ public class NotificationShelf extends ActivatableNotificationView implements
    }

    public void fadeInTranslating() {
        float translation = mShelfIcons.getTranslationY();
        mShelfIcons.setTranslationY(translation - mShelfAppearTranslation);
        mShelfIcons.setTranslationY(-mShelfAppearTranslation);
        mShelfIcons.setAlpha(0);
        mShelfIcons.animate()
                .setInterpolator(Interpolators.DECELERATE_QUINT)
                .translationY(translation)
                .translationY(0)
                .setDuration(SHELF_IN_TRANSLATION_DURATION)
                .start();
        mShelfIcons.animate()