Merge "Distinguish process-switch for launch trace" into tm-dev am: 8890d47366

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

Change-Id: Ib5af91509a934aafc9e5d1c3c002a85f14460441
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2022-05-19 15:56:42 +00:00
committed by Automerger Merge Worker

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.