Fixing nullpointerexception when applying transformParams

Bug: 158015382
Change-Id: Idf979f9d1786e9cb3ee0870f43ee47a735bb595a
This commit is contained in:
Sunny Goyal
2020-06-02 13:02:03 -07:00
parent 2a4dce1402
commit 71bb2d9ab5
@@ -356,7 +356,8 @@ public abstract class BaseSwipeUpHandler<T extends StatefulActivity<?>, Q extend
if (mWindowTransitionController != null) {
float progress = mCurrentShift.value / mDragLengthFactor;
mWindowTransitionController.setPlayFraction(progress);
}
if (mRecentsAnimationTargets != null) {
if (mRecentsViewScrollLinked) {
mTaskViewSimulator.setScroll(mRecentsView.getScrollOffset());
}