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

Commit 9e87dd0d authored by Mady Mellor's avatar Mady Mellor
Browse files

Fix issue where menu items visible on 'closed' notification on lockscreen

Needed to cancel / remove check for the fade in animator when the
notification gets snapped back since the icons shouldn't show in this case.

Test: manual
Bug: 37260033
Change-Id: I5b5ce51f930025dc819a8578f2285c60fa041e7c
parent 4a306894
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -273,6 +273,10 @@ public class NotificationMenuRow implements NotificationMenuRowPlugin, View.OnCl
    }

    private void snapBack(View animView, float velocity) {
        if (mFadeAnimator != null) {
            mFadeAnimator.cancel();
        }
        mHandler.removeCallbacks(mCheckForDrag);
        mMenuSnappedTo = false;
        mSnapping = true;
        mSwipeHelper.snap(animView, 0 /* leftTarget */, velocity);