diff options
| author | 2024-12-18 11:56:26 +0000 | |
|---|---|---|
| committer | 2025-01-07 14:29:11 +0000 | |
| commit | a0bf49144c759cec01d85ec3bf2563eebf1c8c60 (patch) | |
| tree | 7a2f3b2c94d0f464671fba23e554656e72a3324f /libs/androidfw/Util.cpp | |
| parent | 44c25771cfa7f0fe376f8b876cc1072d982afb9d (diff) | |
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
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions