Merge "Fix flickering when long swiping from an app" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot
2019-01-09 20:12:26 +00:00
committed by Android (Google) Code Review

View File

@@ -422,7 +422,9 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
mSyncTransactionApplier = applier;
});
mRecentsView.setOnScrollChangeListener((v, scrollX, scrollY, oldScrollX, oldScrollY) -> {
updateFinalShift();
if (!mBgLongSwipeMode) {
updateFinalShift();
}
});
mRecentsView.setRecentsAnimationWrapper(mRecentsAnimationWrapper);
mRecentsView.setClipAnimationHelper(mClipAnimationHelper);