Merge "Add null check when resetting animation" into sc-dev am: b2a72da335

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14258842

Change-Id: Ied0265f41379abe4777ffffcbf9ea427c3cf5d6f
This commit is contained in:
Winson Chung
2021-04-22 22:21:30 +00:00
committed by Automerger Merge Worker
@@ -1395,7 +1395,9 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
mActivityInterface.onTransitionCancelled(wasVisible);
// Leave the pending invisible flag, as it may be used by wallpaper open animation.
mActivity.clearForceInvisibleFlag(INVISIBLE_BY_STATE_HANDLER);
if (mActivity != null) {
mActivity.clearForceInvisibleFlag(INVISIBLE_BY_STATE_HANDLER);
}
}
protected void switchToScreenshot() {