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

Commit 8fccfe28 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Make it harder to dismiss recents when dragging up

Change-Id: I5883f754125e978ebac470a2c72a1dc13b05b052
parent 870ab5a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -521,7 +521,7 @@ public class RecentsView extends FrameLayout implements TaskStackView.TaskStackV

    public final void onBusEvent(DraggingInRecentsEndedEvent event) {
        ViewPropertyAnimator animator = animate();
        if (event.velocity > ViewConfiguration.get(getContext()).getScaledMinimumFlingVelocity()) {
        if (event.velocity > mFlingAnimationUtils.getMinVelocityPxPerSecond()) {
            animator.translationY(getHeight());
            animator.withEndAction(new Runnable() {
                @Override