release-request-5cce6180-1979-44b8-a969-842cd4c8a044-for-git_pi-release-4342840 snap-temp-L74000000103414049

Change-Id: I273feb20eaedae88a4d9f61aafe1c495f41cd73b
This commit is contained in:
android-build-team Robot
2017-09-16 08:12:58 +00:00
2 changed files with 3 additions and 0 deletions

View File

@@ -502,6 +502,9 @@ class WatchDog {
gave_up_ = true;
status_ = OEMCrypto_ERROR_INIT_FAILED;
LOGE("XXX WATCH DOG ERROR XXX");
// HACK: this normally just returns an error. However, we are using it
// as a signal to dump debugging information.
Level3_GetOEMPublicCertificate(0, nullptr, nullptr);
SaveFailureInformation();
// This tells the worker thread to clean up after itself. It is not
// really needed since we are going to abort. However, if somebody