diff options
| author | 2024-10-11 11:51:29 +0000 | |
|---|---|---|
| committer | 2024-10-14 13:10:58 +0000 | |
| commit | f6d48701d640a7369c2cfc27c107a6db8ac8b4d0 (patch) | |
| tree | accca5eb7658a6a9c3814f1bf7b618f3c6ce4ef2 /api/api_test.go | |
| parent | e0facd9008303f5b94e03992c7e0cc620312e9d7 (diff) | |
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions