Merge "Fixing UI Crash" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b25a29ed88
@@ -256,7 +256,7 @@ public class FullscreenTaskListener<T extends AutoCloseable>
|
|||||||
windowDecor =
|
windowDecor =
|
||||||
mWindowDecorOfVanishedTasks.removeReturnOld(taskInfo.taskId);
|
mWindowDecorOfVanishedTasks.removeReturnOld(taskInfo.taskId);
|
||||||
}
|
}
|
||||||
if (mWindowDecorViewModelOptional.isPresent()) {
|
if (mWindowDecorViewModelOptional.isPresent() && windowDecor != null) {
|
||||||
mWindowDecorViewModelOptional.get().setupWindowDecorationForTransition(
|
mWindowDecorViewModelOptional.get().setupWindowDecorationForTransition(
|
||||||
taskInfo, startT, finishT, windowDecor);
|
taskInfo, startT, finishT, windowDecor);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user