Merge "Prevent NPE at TaskStack#resetAnimationBackgroundAnimator"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f62d88c7bc
@@ -923,7 +923,9 @@ public class TaskStack extends WindowContainer<Task> implements DimLayer.DimLaye
|
||||
|
||||
void resetAnimationBackgroundAnimator() {
|
||||
mAnimationBackgroundAnimator = null;
|
||||
mAnimationBackgroundSurface.hide();
|
||||
if (mAnimationBackgroundSurface != null) {
|
||||
mAnimationBackgroundSurface.hide();
|
||||
}
|
||||
}
|
||||
|
||||
void setAnimationBackground(WindowStateAnimator winAnimator, int color) {
|
||||
|
||||
Reference in New Issue
Block a user