Fixing UI Crash
UI crashing due to null windowDecor object being passed into FullscreenTaskListener#giveWindowDecoration Test: Manual Testing Bug: 246637353 Change-Id: Iaefee1993e1477cb88ed34d8e94b5f24120152f1
This commit is contained in:
@@ -256,7 +256,7 @@ public class FullscreenTaskListener<T extends AutoCloseable>
|
||||
windowDecor =
|
||||
mWindowDecorOfVanishedTasks.removeReturnOld(taskInfo.taskId);
|
||||
}
|
||||
if (mWindowDecorViewModelOptional.isPresent()) {
|
||||
if (mWindowDecorViewModelOptional.isPresent() && windowDecor != null) {
|
||||
mWindowDecorViewModelOptional.get().setupWindowDecorationForTransition(
|
||||
taskInfo, startT, finishT, windowDecor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user