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

Commit 3c27f0b8 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

am: 7bd2e0ce

Change-Id: I1925a99d5f8128caded1c2f11956e3df7d4a9e08
parents 018f47a2 7bd2e0ce
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -468,6 +468,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.
        // Loop forever.
        Looper.loop();
        Looper.loop();
        throw new RuntimeException("Main thread loop unexpectedly exited");
        throw new RuntimeException("Main thread loop unexpectedly exited");