Merge "Integrate Rescue Party boot loop logic to Package Watchdog"

This commit is contained in:
Gavin Corkery
2020-01-16 11:12:55 +00:00
committed by Android (Google) Code Review
5 changed files with 270 additions and 162 deletions

View File

@@ -758,7 +758,7 @@ public final class SystemServer {
// note that we just booted, which might send out a rescue party if
// we're stuck in a runtime restart loop.
RescueParty.registerHealthObserver(mSystemContext);
RescueParty.noteBoot(mSystemContext);
PackageWatchdog.getInstance(mSystemContext).noteBoot();
// Manages LEDs and display backlight so we need it to bring up the display.
t.traceBegin("StartLightsService");