Merge "Fix the subject line bug"

This commit is contained in:
Mohamad Mahmoud
2022-10-05 16:42:55 +00:00
committed by Android (Google) Code Review

View File

@@ -3528,7 +3528,7 @@ public class ActivityManagerService extends IActivityManager.Stub
if (subject != null || criticalEventSection != null) {
appendtoANRFile(tracesFile.getAbsolutePath(),
(subject != null ? "Subject: " + subject + "\n\n" : "")
+ criticalEventSection != null ? criticalEventSection : "");
+ (criticalEventSection != null ? criticalEventSection : ""));
}
Pair<Long, Long> offsets = dumpStackTraces(