Merge "Fixes NPE in AbsSwipeUpHandler." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cf6900d9ee
@@ -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