summaryrefslogtreecommitdiffstats
path: root/core/res/res/anim
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2015-04-21 15:54:17 -0700
committerWale Ogunwale <ogunwale@google.com>2015-04-22 11:24:46 -0700
commita48a8db90ffd6f2439fd5ee2db59d9807ed9ba00 (patch)
tree45d340ce80693bb4dcf89290faff34791994c355 /core/res/res/anim
parent6bac04abc9f945911498a182cea52b48e0b43f23 (diff)
downloadframeworks_base-a48a8db90ffd6f2439fd5ee2db59d9807ed9ba00.zip
frameworks_base-a48a8db90ffd6f2439fd5ee2db59d9807ed9ba00.tar.gz
frameworks_base-a48a8db90ffd6f2439fd5ee2db59d9807ed9ba00.tar.bz2
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
Diffstat (limited to 'core/res/res/anim')
-rw-r--r--core/res/res/anim/task_open_enter.xml2
-rw-r--r--core/res/res/anim/wallpaper_close_enter.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/res/res/anim/task_open_enter.xml b/core/res/res/anim/task_open_enter.xml
index 8321ea4..e511cc9 100644
--- a/core/res/res/anim/task_open_enter.xml
+++ b/core/res/res/anim/task_open_enter.xml
@@ -18,7 +18,7 @@
-->
<set xmlns:android="http://schemas.android.com/apk/res/android"
- android:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="top">
+ android:shareInterpolator="false" android:zAdjustment="top">
<alpha android:fromAlpha="0" android:toAlpha="1.0"
android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
diff --git a/core/res/res/anim/wallpaper_close_enter.xml b/core/res/res/anim/wallpaper_close_enter.xml
index a189813..7256a3c 100644
--- a/core/res/res/anim/wallpaper_close_enter.xml
+++ b/core/res/res/anim/wallpaper_close_enter.xml
@@ -18,7 +18,7 @@
-->
<set xmlns:android="http://schemas.android.com/apk/res/android"
- android:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="top">
+ android:shareInterpolator="false" android:zAdjustment="top">
<alpha android:fromAlpha="0" android:toAlpha="1.0"
android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"