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

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2019-01-09 20:12:26 +00:00
commit c8a926941f
1 file changed
+3 -1
@@ -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);