diff options
| author | 2024-10-16 13:30:57 +0000 | |
|---|---|---|
| committer | 2024-10-17 11:21:27 +0000 | |
| commit | 269eef85ec5b93ae255f213f9a7c804e234e2f96 (patch) | |
| tree | 9f688e19e2dd0b1d6411ce88473bebd4f0bcc736 /libs/androidfw/misc.cpp | |
| parent | b16fb2340e4f1c8ba7ea133a2d122cb6fd54d806 (diff) | |
Set Launcher alpha to 0 during Desktop exit transition.
During the Desktop last-window-close exit transition we are
simultaneously
1. closing a Desktop app
2. closing DesktopWallpaperActivity
3. opening LauncherActivity
Since the Desktop app might not cover the entire screen, and
DesktopWallpaperActivity is transparent - the user will see
LauncherActivity beneath those tasks/windows throughout the exit
animation.
Before this CL the alpha of the leash of LauncherActivity was set to 1
at the beginning of the animation (before the Launcher Workspace view
had time to reset its Views), causing a flicker showing the Workspace
view (icons and widgets) for a single frame.
With this CL we set the alpha of the Launcher leash to 0 at the start of
the Desktop exit animation, so the LauncherActivity and its Workspace
won't show until the Workspace view is ready.
Test: manual
Bug: 366153364
Flag: com.android.window.flags.enable_desktop_windowing_exit_transitions
Change-Id: I8e4d7ef01052e2158a644630f85d2f9ec4e9bda4
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions