diff options
author | 2025-01-22 05:33:26 +0000 | |
---|---|---|
committer | 2025-01-23 10:11:56 -0800 | |
commit | ad1f46b7742eca39e3ef4504616312c06197d19d (patch) | |
tree | 75df695cca189fc8781c6b2e073ecc4622ec202f /media/tests | |
parent | 64d00c2f4b0a8b058353ab6ea21cb91980155de1 (diff) |
Extend recents mixer to handle finishing with a bookend transition
- Currently, splitscreen will listen for the recents transition to start
(to include the divider in the transition) and end (to restore the
divider visibility if returning to the app). It is notified of the
recents events by RecentsMixedTransition, which wraps the finish
callback, and passes the existing finishWCT (for the transition that
starts the recents transition), which split will then query for changes
that reorder the split stages to the top.
However, when the recents bookend transitions are enabled, the
restoring of the transient order is done in a separate transition,
and the existing logic of looking at the finishWCT fails.
Instead, we can extend the RecentsMixedHandler callbacks to allow
RecentsMixedTransition to be notified when a finish is about to
happen with direct information about whether the finish will return
to the app. Using this, split can then modify the finishWCT to
include any necessary cleanup.
Bug: 346588978
Bug: 391486839
Flag: com.android.wm.shell.enable_recents_bookend_transition
Test: atest WMShellUnitTests
Change-Id: Ifebd4fbde6c7871832309b362553286f017bf2c7
Diffstat (limited to 'media/tests')
0 files changed, 0 insertions, 0 deletions