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

Skip to content
Commit f6d48701 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Disable velocity-slowdown when timestamp API is enabled

When the timestamp API is enabled, apps should calculate and handle the velocity themselves. Therefore the velocity-slowdown logic is disabled.

if we would keep playing the slow-down, the velocity would always be 0 when apps receive onBackInvoked.

Bug: 362938401
Test: Manual, i.e. verify that velocity-slow down is not played anymore but onBackInvoked is called immediately when the back gesture is released.
Flag: com.android.window.flags.predictive_back_timestamp_api
Change-Id: I426ba2a8294961849f189b21a843e6622b014586
parent e0facd90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment