mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Fix NullPointerException in LauncherBackAnimationController
Bug: 316663312 Flag: NONE Test: Manual, i.e. verifying that this change does not introduce any unexpected regressions Change-Id: I749f3944d5fd71e525ce31ff720dd86f1a84277e
This commit is contained in:
@@ -284,7 +284,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