Finish wrapped launcher animations if impl is gone
If the runner impl is gone (since it is a weakreference), we still need to complete the animation contract by calling the finish callback, so do that. Bug: 183993924 Test: atest ActivityMetricsLoggerTests Change-Id: Idce1859f0417cb74bbb9884e0d06750539e4545e
This commit is contained in:
@@ -58,6 +58,8 @@ public class WrappedLauncherAnimationRunner<R extends WrappedAnimationRunnerImpl
|
||||
if (animationRunnerImpl != null) {
|
||||
animationRunnerImpl.onCreateAnimation(transit, appTargets, wallpaperTargets,
|
||||
nonAppTargets, result);
|
||||
} else {
|
||||
result.setAnimation(null, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user