Merge "Fixes NPE in AbsSwipeUpHandler." into sc-dev am: cf6900d9ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436551 Change-Id: Ia089634e14dc1db6f50985369d6b2a43e894c1b0
This commit is contained in:
@@ -1701,7 +1701,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
|
||||
// No need to apply any transform if there is ongoing swipe-pip-to-home animator since
|
||||
// that animator handles the leash solely.
|
||||
if (mRecentsAnimationTargets != null && !mIsSwipingPipToHome) {
|
||||
if (mRecentsViewScrollLinked) {
|
||||
if (mRecentsViewScrollLinked && mRecentsView != null) {
|
||||
mTaskViewSimulator.setScroll(mRecentsView.getScrollOffset());
|
||||
}
|
||||
mTaskViewSimulator.apply(mTransformParams);
|
||||
|
||||
Reference in New Issue
Block a user