Merge "Fix NullPointerException in LauncherBackAnimationController" into main

This commit is contained in:
Johannes Gallmann
2023-12-21 08:04:42 +00:00
committed by Android (Google) Code Review
@@ -287,7 +287,7 @@ public class LauncherBackAnimationController {
mBackInProgress = true;
RemoteAnimationTarget appTarget = backEvent.getDepartingAnimationTarget();
if (appTarget == null) {
if (appTarget == null || appTarget.leash == null || !appTarget.leash.isValid()) {
return;
}