Merge "Consider overscroll adjustment of RecentsView for live tile" into ub-launcher3-master

This commit is contained in:
Tracy Zhou 2020-10-22 18:22:56 +00:00 committed by Android (Google) Code Review
commit a97557a15e
1 changed files with 5 additions and 7 deletions

View File

@ -618,13 +618,6 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<?>, Q extends
updateSysUiFlags(mCurrentShift.value);
applyWindowTransform();
if (ENABLE_QUICKSTEP_LIVE_TILE.get()) {
if (mRecentsAnimationTargets != null) {
LiveTileOverlay.INSTANCE.update(
mTaskViewSimulator.getCurrentRect(),
mTaskViewSimulator.getCurrentCornerRadius());
}
}
updateLauncherTransitionProgress();
}
@ -1616,6 +1609,11 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<?>, Q extends
}
mTaskViewSimulator.apply(mTransformParams);
}
if (ENABLE_QUICKSTEP_LIVE_TILE.get() && mRecentsAnimationTargets != null) {
LiveTileOverlay.INSTANCE.update(
mTaskViewSimulator.getCurrentRect(),
mTaskViewSimulator.getCurrentCornerRadius());
}
ProtoTracer.INSTANCE.get(mContext).scheduleFrameUpdate();
}