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: Ieb2b941fb8035f86981787c79fe23cd8c05b8d17
This commit is contained in:
Jing Ji
2022-03-05 00:47:49 +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());