Merge "Fix NullPointerException in LauncherBackAnimationController" into main
This commit is contained in:
commit
ccff1b84ea
1 file changed
+1
-1
@@ -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