Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e45037d authored by Maryam's avatar Maryam
Browse files

Fixing UI Crash

UI crashing due to null windowDecor object being passed into
FullscreenTaskListener#giveWindowDecoration
Test: Manual Testing
Bug: 246637353

Change-Id: Iaefee1993e1477cb88ed34d8e94b5f24120152f1
parent db23075a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
        }