Show all TaskViews when doing seamless overview rotation am: 6434f8eae5 am: ddd5a6ec3c

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15838849

Change-Id: Ibfd55da6b502b6e7bff9f840659327f70b5dcf35
This commit is contained in:
Vinit Nayak 2021-09-15 23:50:50 +00:00 committed by Automerger Merge Worker
commit e628b82b89
1 changed files with 2 additions and 2 deletions

View File

@ -2059,10 +2059,10 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
int runningIndex = getCurrentPage();
AnimatorSet as = new AnimatorSet();
for (int i = 0; i < getTaskViewCount(); i++) {
if (runningIndex == i) {
View taskView = getTaskViewAt(i);
if (runningIndex == i && taskView.getAlpha() != 0) {
continue;
}
View taskView = getTaskViewAt(i);
as.play(ObjectAnimator.ofFloat(taskView, View.ALPHA, fadeInChildren ? 0 : 1));
}
return as;