Merge "Fix NullPointerException in LauncherBackAnimationController" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
ccff1b84ea
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user