Merge "Distinguish process-switch for launch trace" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-05-19 15:37:50 +00:00
committed by Android (Google) Code Review

View File

@@ -212,7 +212,8 @@ class ActivityMetricsLogger {
if (mAssociatedTransitionInfo == null) {
launchResult = ":failed";
} else {
launchResult = (abort ? ":canceled:" : ":completed:")
launchResult = (abort ? ":canceled:" : mAssociatedTransitionInfo.mProcessSwitch
? ":completed:" : ":completed-same-process:")
+ mAssociatedTransitionInfo.mLastLaunchedActivity.packageName;
}
// Put a supplement trace as the description of the async trace with the same id.