Integrate Rescue Party with Package Watchdog
Integrate Rescue Party as an observer for Package Watchdog, for managing package failures. Rescue Party will be a persistent observer, meaning it may receive failure calls for packages it has not explicitly asked to observe. Remove app failure calls and thresholding logic from Rescue Party. Remove obsolete Rescue Party tests and add persistent observer tests to PackageWatchdogTest. Test: atest PackageWatchdogTest Test: atest RescuePartyTest Test: atest StagedRollbackTest Bug: 136135457 Change-Id: I55ec0de48acd5434255811feba758d38c9304478
This commit is contained in:
@@ -751,6 +751,7 @@ public final class SystemServer {
|
||||
// Now that we have the bare essentials of the OS up and running, take
|
||||
// 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);
|
||||
|
||||
// Manages LEDs and display backlight so we need it to bring up the display.
|
||||
|
||||
Reference in New Issue
Block a user