From 71bb2d9ab595298cf705ee85519aeaa98828b61b Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Tue, 2 Jun 2020 13:02:03 -0700 Subject: [PATCH] Fixing nullpointerexception when applying transformParams Bug: 158015382 Change-Id: Idf979f9d1786e9cb3ee0870f43ee47a735bb595a --- .../src/com/android/quickstep/BaseSwipeUpHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/BaseSwipeUpHandler.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/BaseSwipeUpHandler.java index 737d837ac7..045f459ce0 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/BaseSwipeUpHandler.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/BaseSwipeUpHandler.java @@ -356,7 +356,8 @@ public abstract class BaseSwipeUpHandler, Q extend if (mWindowTransitionController != null) { float progress = mCurrentShift.value / mDragLengthFactor; mWindowTransitionController.setPlayFraction(progress); - + } + if (mRecentsAnimationTargets != null) { if (mRecentsViewScrollLinked) { mTaskViewSimulator.setScroll(mRecentsView.getScrollOffset()); }