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

Commit 70176432 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Add null-check when adding starting window

Test: Boot device
Change-Id: I5ecc09b047f6cc9246bddd419fa22051c8933562
Fixes: 34343761
parent 9f9d61fd
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1802,6 +1802,9 @@ final class ActivityRecord implements AppWindowContainerListener {
    }

    void showStartingWindow(ActivityRecord prev, boolean newTask, boolean taskSwitch) {
        if (mWindowContainerController == null) {
            return;
        }
        final CompatibilityInfo compatInfo =
                service.compatibilityInfoForPackageLocked(info.applicationInfo);
        final boolean shown = mWindowContainerController.addStartingWindow(packageName, theme,