Align the duration of task exit animation to enter animation

Now they are both 500ms. Otherwise if the duration of exit animation
is longer, it may cover the entering task.

Bug: 201998178
Test: Back from a task in a different orientation, the exiting
      task should not flash on screen.

Change-Id: Iefa134e4217ba35d33801225368b7a5df60d932c
This commit is contained in:
Riddle Hsu
2021-10-04 21:31:28 +08:00
parent ce87ba4e87
commit 6ad3fc9dd2
4 changed files with 4 additions and 24 deletions

View File

@@ -28,9 +28,4 @@
android:startOffset="0"
android:duration="500"/>
<!-- This is needed to keep the animation running while task_open_enter completes -->
<alpha
android:fromAlpha="1.0"
android:toAlpha="1.0"
android:duration="600"/>
</set>
</set>

View File

@@ -28,9 +28,4 @@
android:startOffset="0"
android:duration="500"/>
<!-- This is needed to keep the animation running while task_open_enter completes -->
<alpha
android:fromAlpha="1.0"
android:toAlpha="1.0"
android:duration="600"/>
</set>
</set>

View File

@@ -30,9 +30,4 @@
android:startOffset="0"
android:duration="500"/>
<!-- This is needed to keep the animation running while task_open_enter completes -->
<alpha
android:fromAlpha="1.0"
android:toAlpha="1.0"
android:duration="600"/>
</set>
</set>

View File

@@ -30,9 +30,4 @@
android:startOffset="0"
android:duration="500"/>
<!-- This is needed to keep the animation running while task_open_enter completes -->
<alpha
android:fromAlpha="1.0"
android:toAlpha="1.0"
android:duration="600"/>
</set>
</set>