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

Skip to content
Commit 74132799 authored by wilsonshih's avatar wilsonshih
Browse files

Keep wallpaper on top when finish a non-fullscreen unoccluding window

Compensate isKeyguardUnoccluding does not work for shell transition
because there is no app transition. There should check this
condition by isTransition.

Also fix a generic issue that the wallpaper can become invisible for
a short of time when showWhenLocked window take effect. The
notification shade is the wallpaper target in the beginning, but
it will become invisible because the opening activity will occluding
it, so wallpaper will be hide when notification shade goes to relayout
as invisible.
If there has set useTopWallpaperAsTarget in previous traversal, keep
wallpaper visible when wallpaper target is going away.

Bug: 209906849
Test: for legacy: verify no flickering when finish a showWhenLocked
activity on lock screen.
Test: for shell-transition: verify wallpaper stay visible when finish
a showWhenLocked activity on lock screen.
Test: run "atest KeyguardTests" for both legacy and shell-transition

Change-Id: Iba4cc27fa323b3ddb7ebdaa9d89a1548c4bd1906
parent 94d1958d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment