Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc67d728 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Redraw live tile in updatePageOffsets()" into sc-dev

parents 49d6bb66 2e3b7c6e
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -1420,7 +1420,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
        mTaskListChangeId = -1;
        mFocusedTaskId = -1;

        mRecentsAnimationController = null;
        if (mRecentsAnimationController != null) {
            finishRecentsAnimation(true /* toRecents */, null);
        }
        mLiveTileParams.setTargetSet(null);
        mLiveTileTaskViewSimulator.setDrawsBelowRecents(true);

@@ -2526,6 +2528,10 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
                    ? ((TaskView) child).getPrimaryTaskOffsetTranslationProperty()
                    : mOrientationHandler.getPrimaryViewTranslate();
            translationProperty.set(child, totalTranslation);
            if (LIVE_TILE.get() && mEnableDrawingLiveTile && i == getRunningTaskIndex()) {
                mLiveTileTaskViewSimulator.taskPrimaryTranslation.value = totalTranslation;
                redrawLiveTile();
            }
        }
        updateCurveProperties();
    }