Logging the stack trace for system anomaly messages am: 499e2055a6

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16322469

Change-Id: I86b2c6379ce08d42fe727a6c63679136ffe428de
This commit is contained in:
vadimt
2021-11-22 20:37:38 +00:00
committed by Automerger Merge Worker
@@ -544,11 +544,11 @@ public final class LauncherInstrumentation {
: TestHelpers.getSystemHealthMessage(getContext(), mTestStartTime);
if (systemHealth != null) {
return message
+ ";\nPerhaps linked to system health problems:\n<<<<<<<<<<<<<<<<<<\n"
message += ";\nPerhaps linked to system health problems:\n<<<<<<<<<<<<<<<<<<\n"
+ systemHealth + "\n>>>>>>>>>>>>>>>>>>";
}
}
Log.d(TAG, "About to throw the error: " + message, new Exception());
return message;
}