diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/WindowTransformSwipeHandler.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/WindowTransformSwipeHandler.java index 3797e87995..52d301ca96 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/WindowTransformSwipeHandler.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/WindowTransformSwipeHandler.java @@ -1076,7 +1076,9 @@ public class WindowTransformSwipeHandler @Override public void onAnimationStart(Animator animation) { homeAnim.dispatchOnStart(); - mActivity.getRootView().getOverlay().remove(mLiveTileOverlay); + if (mActivity != null) { + mActivity.getRootView().getOverlay().remove(mLiveTileOverlay); + } } @Override