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

This commit is contained in:
Jing Ji
2022-03-05 00:42:52 +00:00
committed by Android (Google) Code Review

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());