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

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

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

View File

@ -1729,10 +1729,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;