Merge "Fix crash if Launcher destroyed before AbsSwipeUpHandler invalidated" into udc-qpr-dev

This commit is contained in:
Treehugger Robot
2023-08-18 23:10:55 +00:00
committed by Android (Google) Code Review

View File

@@ -193,6 +193,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
ActiveGestureLog.INSTANCE.addLog("Launcher destroyed", LAUNCHER_DESTROYED);
mRecentsView = null;
mActivity = null;
mStateCallback.clearState(STATE_LAUNCHER_PRESENT);
}
};