summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2025-01-22 15:25:32 +0800
committer wilsonshih <wilsonshih@google.com> 2025-02-10 07:02:42 +0000
commit9c5f19da735bc4776bbc6719144c7cc4c8145d70 (patch)
treecd73cd27f515185ba9ee32c3d77b77ad96804f31 /api/api_test.go
parent5433f61b65f5efe5010fdaaafaa68bc338efd5c7 (diff)
Fix flicker when interrupe back navigation transition.
For unity back navigation transitions, the system server forces the original top window to participate in the predictive back transition. If an interrupting transition occurs during the predictive back transition, the animating target should also participate in the second transition. This ensures that when the predictive back transition is canceled in the Shell, the second transition can seamlessly continue with the animating target, which is then reparented the surface back to hierarchy after the second transition finishes. Also prevents the pending predictive back transition from starting after a transition finishes if another transition is already playing. Flag: com.android.window.flags.unify_back_navigation_transition Bug: 390345225 Test: press device edge quickly during an open transition to try to trigger close transition, verify if predictive back transition has triggerred, the transition can be canceled and default transition handler can play the following transition without flicker/jumpcut. Change-Id: I1fe5c2ea509f7000b15be5d69336a1c28d9e91ed
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions