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

Commit 6a5920c6 authored by Alex Chau's avatar Alex Chau
Browse files

Enable free scroll immediately if gesture goes to overview

Fixes: 186871947
Test: Swipe up from app, scroll immediately, free scroll should be enabled
Change-Id: I20b782df04fb6e61dfd5c7e82e1ab90dbd6ed8fc
parent a1d303e5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1730,6 +1730,8 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
            // When switching to tasks in quick switch, ensures the snapped page's scroll maintain
            // invariant between quick switch and overview, to ensure a smooth animation transition.
            updateGridProperties();
        } else if (endTarget == GestureState.GestureEndTarget.RECENTS) {
            setEnableFreeScroll(true);
        }
    }