Merge "Revert "Redraw live tile in updatePageOffsets()"" into sc-dev
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java
index 0794012..db651a8 100644
--- a/quickstep/src/com/android/quickstep/views/RecentsView.java
+++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -1515,9 +1515,7 @@
mTaskListChangeId = -1;
mFocusedTaskId = -1;
- if (mRecentsAnimationController != null) {
- finishRecentsAnimation(true /* toRecents */, null);
- }
+ mRecentsAnimationController = null;
mLiveTileParams.setTargetSet(null);
mLiveTileTaskViewSimulator.setDrawsBelowRecents(true);
@@ -2622,10 +2620,6 @@
? ((TaskView) child).getPrimaryTaskOffsetTranslationProperty()
: mOrientationHandler.getPrimaryViewTranslate();
translationProperty.set(child, totalTranslation);
- if (LIVE_TILE.get() && mEnableDrawingLiveTile && i == getRunningTaskIndex()) {
- mLiveTileTaskViewSimulator.taskPrimaryTranslation.value = totalTranslation;
- redrawLiveTile();
- }
}
updateCurveProperties();
}