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.

Merged-In: Iefa134e4217ba35d33801225368b7a5df60d932c
Change-Id: Iefa134e4217ba35d33801225368b7a5df60d932c
This commit is contained in:
Riddle Hsu
2021-10-04 21:31:28 +08:00
committed by Pablo Gamito
parent d3e9c7afd9
commit da4272ecaa
4 changed files with 4 additions and 24 deletions

View File

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

View File

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

View File

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

View File

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