Merge "Reset the subreason field while reusing the AppExitInfoTracker record" into tm-dev am: d00d9c2bde

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17085687

Change-Id: I7d6ba791914525a3b99b878dfa483af5f8510c02
This commit is contained in:
Jing Ji
2022-03-05 00:47:36 +00:00
committed by Automerger Merge Worker

View File

@@ -1002,6 +1002,7 @@ public final class AppExitInfoTracker {
info.setPackageName(app.info.packageName);
info.setPackageList(app.getPackageList());
info.setReason(ApplicationExitInfo.REASON_UNKNOWN);
info.setSubReason(ApplicationExitInfo.SUBREASON_UNKNOWN);
info.setStatus(0);
info.setImportance(procStateToImportance(app.mState.getReportedProcState()));
info.setPss(app.mProfile.getLastPss());