Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53bc77ac authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Merge "Distinguish process-switch for launch trace" into tm-dev am: 8890d473 am: d8b5b700 am: 151134e7

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



Change-Id: Ide5b8b2c1db3ad0481178a20b35fabc2847636fe
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 9c41bedd 151134e7
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -214,7 +214,8 @@ class ActivityMetricsLogger {
            if (mAssociatedTransitionInfo == null) {
            if (mAssociatedTransitionInfo == null) {
                launchResult = ":failed";
                launchResult = ":failed";
            } else {
            } else {
                launchResult = (abort ? ":canceled:" : ":completed:")
                launchResult = (abort ? ":canceled:" : mAssociatedTransitionInfo.mProcessSwitch
                        ? ":completed:" : ":completed-same-process:")
                        + mAssociatedTransitionInfo.mLastLaunchedActivity.packageName;
                        + mAssociatedTransitionInfo.mLastLaunchedActivity.packageName;
            }
            }
            // Put a supplement trace as the description of the async trace with the same id.
            // Put a supplement trace as the description of the async trace with the same id.