mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Merge "Fix null-pointer in AbsSwipeUpHandler.buildAnimationController" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
737c7f21ec
@@ -830,7 +830,8 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
|
||||
* @return Whether we can create the launcher controller or update its progress.
|
||||
*/
|
||||
private boolean canCreateNewOrUpdateExistingLauncherTransitionController() {
|
||||
return mGestureState.getEndTarget() != HOME && !mHasEndedLauncherTransition;
|
||||
return mGestureState.getEndTarget() != HOME
|
||||
&& !mHasEndedLauncherTransition && mActivity != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user