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: I8228207dbdb8532e8612cac161131188a719fe00
This commit is contained in:
Winson Chung
2021-04-22 22:23:24 +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() {