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

Commit 4bc760b9 authored by wilsonshih's avatar wilsonshih
Browse files

Separate the predictive back transition request from start navigation.

When a finger-down event occurs, the system gets the current back
navigation info from the window manager but does not trigger the
animation immediately.
Instead, the predictive back animation is only triggered when the
gesture movement has crossed the threshold. Therefore, the shell can
pilfer pointers earlier, before the threshold is crossed, and it will
not trigger an extra transition if nothing happen.

Flag: com.android.window.flags.predictive_back_delay_wm_transition
Bug: 301195601
Bug: 418854576
Test: atest BackNavigationControllerTests BackAnimationControllerTest
Change-Id: If6beb4dcfea1c87df870fc23072eb8aeb7db881e
parent 4a767ed1
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