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

Commit 7bd2e0ce authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Merge "Frameworks: Add VMRuntime.hasBootImageSpaces check" am: 91358118

am: b9da5284

Change-Id: Ib02426fb94ab9fc4b448ebb5f4d928ec2cb7afbf
parents 367f6a20 b9da5284
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -460,6 +460,12 @@ public final class SystemServer {
            }
        }

        // Diagnostic to ensure that the system is in a base healthy state. Done here as a common
        // non-zygote process.
        if (!VMRuntime.hasBootImageSpaces()) {
            Slog.wtf(TAG, "Runtime is not running with a boot image!");
        }

        // Loop forever.
        Looper.loop();
        throw new RuntimeException("Main thread loop unexpectedly exited");