OSDN Git Service

Fixed bug with black background when exiting a wallpaper window.
authorWale Ogunwale <ogunwale@google.com>
Tue, 21 Apr 2015 22:54:17 +0000 (15:54 -0700)
committerWale Ogunwale <ogunwale@google.com>
Wed, 22 Apr 2015 18:24:46 +0000 (11:24 -0700)
commita48a8db90ffd6f2439fd5ee2db59d9807ed9ba00
tree45d340ce80693bb4dcf89290faff34791994c355
parent6bac04abc9f945911498a182cea52b48e0b43f23
Fixed bug with black background when exiting a wallpaper window.

* Defer hiding the wallpaper until all animations are done. We were
previously hiding the wallpaper once the closing app animation is
done which leads to the background of the opening app animation
going black since there is nothing to show there.

* Don't set the wallpaper_close_enter animation blackground
to black. This will also cause the background of the opening app
animation to go black once the wallpaper closing app animation is
done.

* Don't set task_open_enter animation blackground to black. This
can cause an undesired black frame during transition if the new
task is created on the home stack instead of an application stack.

Bug: 17098816
Bug: 19454410
Change-Id: I0e63d72b1748d7d2424119b3176f48476293af92
core/res/res/anim/task_open_enter.xml
core/res/res/anim/wallpaper_close_enter.xml
services/core/java/com/android/server/wm/WindowManagerService.java