commit | 71bb2d9ab595298cf705ee85519aeaa98828b61b | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Tue Jun 02 13:02:03 2020 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Tue Jun 02 13:02:42 2020 -0700 |
tree | 5b2b78d41f200f70f6f8f24f5b7e26c351bc7a83 | |
parent | 2a4dce14029937d48ebcb4134fbfb86d744dd478 [diff] |
Fixing nullpointerexception when applying transformParams Bug: 158015382 Change-Id: Idf979f9d1786e9cb3ee0870f43ee47a735bb595a
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 737d837..045f459 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 @@ if (mWindowTransitionController != null) { float progress = mCurrentShift.value / mDragLengthFactor; mWindowTransitionController.setPlayFraction(progress); - + } + if (mRecentsAnimationTargets != null) { if (mRecentsViewScrollLinked) { mTaskViewSimulator.setScroll(mRecentsView.getScrollOffset()); }