OSDN Git Service

Switch RescueParty to PMS.logCriticalInfo().
authorJeff Sharkey <jsharkey@android.com>
Sun, 12 Mar 2017 03:38:21 +0000 (20:38 -0700)
committerJeff Sharkey <jsharkey@android.com>
Sun, 12 Mar 2017 03:38:24 +0000 (20:38 -0700)
commitbc9caa1a2a38e23f7a6b61bcda81b5759e45ec66
treef348c35ebc2b335b20ac5e0d7515a49376f30900
parentbd5e5e0d75b6c1dbca0da2d40e96c18f94e07ac4
Switch RescueParty to PMS.logCriticalInfo().

When RescueParty is triggered, we could end up in recovery before a
bugreport can be taken.  To help understand why RescueParty was
triggered after the fact, this change switches a handful of critical
log messages to use PMS.logCriticalInfo().

These logs then go into our persistent log on disk, which is also
included in all future bugreports.

Bug: 3580533136033178
Test: builds, boots, forced crashing recorded in persistent log
Change-Id: Ic71206b25c4b0b703e464ff1d07c5e0b31549257
services/core/java/com/android/server/RescueParty.java
services/core/java/com/android/server/pm/PackageManagerService.java