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
Loading
Please register or sign in to comment