From 6ad3fc9dd25ecc20b582d4e63504f2f328301d6c Mon Sep 17 00:00:00 2001 From: Riddle Hsu Date: Mon, 4 Oct 2021 21:31:28 +0800 Subject: [PATCH] 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 --- core/res/res/anim-ldrtl/task_close_exit.xml | 7 +------ core/res/res/anim-ldrtl/task_open_exit.xml | 7 +------ core/res/res/anim/task_close_exit.xml | 7 +------ core/res/res/anim/task_open_exit.xml | 7 +------ 4 files changed, 4 insertions(+), 24 deletions(-) diff --git a/core/res/res/anim-ldrtl/task_close_exit.xml b/core/res/res/anim-ldrtl/task_close_exit.xml index 76fbdffd1760d..0887019ca608b 100644 --- a/core/res/res/anim-ldrtl/task_close_exit.xml +++ b/core/res/res/anim-ldrtl/task_close_exit.xml @@ -28,9 +28,4 @@ android:startOffset="0" android:duration="500"/> - - - \ No newline at end of file + diff --git a/core/res/res/anim-ldrtl/task_open_exit.xml b/core/res/res/anim-ldrtl/task_open_exit.xml index beb6fca5632a0..88cdcceae4150 100644 --- a/core/res/res/anim-ldrtl/task_open_exit.xml +++ b/core/res/res/anim-ldrtl/task_open_exit.xml @@ -28,9 +28,4 @@ android:startOffset="0" android:duration="500"/> - - - \ No newline at end of file + diff --git a/core/res/res/anim/task_close_exit.xml b/core/res/res/anim/task_close_exit.xml index 736f3f2083e57..3a8dd934cd17a 100644 --- a/core/res/res/anim/task_close_exit.xml +++ b/core/res/res/anim/task_close_exit.xml @@ -30,9 +30,4 @@ android:startOffset="0" android:duration="500"/> - - - \ No newline at end of file + diff --git a/core/res/res/anim/task_open_exit.xml b/core/res/res/anim/task_open_exit.xml index d1703170e16f0..21fec7f694bf6 100644 --- a/core/res/res/anim/task_open_exit.xml +++ b/core/res/res/anim/task_open_exit.xml @@ -30,9 +30,4 @@ android:startOffset="0" android:duration="500"/> - - - \ No newline at end of file +