Merge "Distinguish process-switch for launch trace" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8890d47366
@@ -212,7 +212,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.
|
||||||
|
|||||||
Reference in New Issue
Block a user