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

Commit 1b24a6c2 authored by Gustav Sennton's avatar Gustav Sennton
Browse files

Remote transitions: only block display transitions with display updates

Animations for moving an app to another display are being implemented in
Launcher (QuickstepTransitionManager) through remote transitions.
This CL alters code that blocks certain remote transitions from being
passed from Shell to Launcher, so that we can implement those
transitions in Launcher:

When moving an app from the device display to the external display
through an external-display app launch, we end up with a transition that
contains a display change (FLAG_IS_DISPLAY). Before this CL,
RemoteTransitionHandler would ignore such transitions, because Launcher
doesn't have the permissions needed to make certain display changes.
With this CL, instead of ignoring all remote transitions that contain
FLAG_IS_DISPLAY changes, we now only ignore transitions with changes
that impact display attributes such a size or rotation.

Bug: 422333177
Flag: com.android.window.flags.enable_cross_displays_app_launch_transition
Test: RemoteTransitionHandlerTest
Change-Id: Ia8be5ce2614bf7e21dfb3867c1516079645ca605
parent 3dc7bbbc
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