diff options
| author | 2025-01-13 08:27:12 -0800 | |
|---|---|---|
| committer | 2025-01-15 04:35:07 -0800 | |
| commit | 7df1f96d0fac39d51f615765acd403257ac6a5ee (patch) | |
| tree | 57a1d869aa0b8f5f68b84ed6386ce44a787a025c /libs/androidfw/LocaleDataLookup.cpp | |
| parent | 4f783b4ec82364d856394c5817bc52949130a69a (diff) | |
Reland "Swipe-up Recents transition: override desktop tasks corner..."
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: Ie714406143c0590e0f2f1374d2b64f48a6b9c632
Diffstat (limited to 'libs/androidfw/LocaleDataLookup.cpp')
0 files changed, 0 insertions, 0 deletions