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

Skip to content
Commit a0bf4914 authored by Gustav Sennton's avatar Gustav Sennton
Browse files

Swipe-up Recents transition: override desktop tasks corner radius

Fix an issue where the corner radius and shadow of Desktop tasks are
incorrectly applied during the Recents swipe-up transition:
Shell and Launcher uses different leashes to control Desktop tasks
during transitions, and there is a bug (b/200300845) where applying
different corner radii to several ancestors (with different bounds) of
a single task causes bad results (it's unclear clear what corner radii
is applied, and the task shadow might leak outside an ancestor as well).

With this CL we
1. tell WindowDecoration to avoid updating the corner radius of Desktop
   tasks during Recents transitions, and
2. pass a TransitionInfo object to Launcher during Recents transitions
   to allow Launcher to access the task leashes used by Shell, and
   override the corner radius of the relevant tasks.

Bug: 378657004
Test: manual
Flag: com.android.window.flags.enable_desktop_recents_transitions_corners_bugfix

Change-Id: I99a392fb7663349951233c1bcc5547360aaf50d5
parent 44c25771
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