Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1834581b authored by Schneider Victor-tulias's avatar Schneider Victor-tulias
Browse files

Fix null-pointer in AbsSwipeUpHandler.buildAnimationController

Flag: not needed
Fixes: 271248485
Test: ran launcher
Change-Id: Ia9e0e68b9ee9273d82ed791b421a10ccb1fcdef2
parent 014a6843
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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