Merge "Change the order of app transition finish logging."

This commit is contained in:
TreeHugger Robot
2020-01-08 17:08:58 +00:00
committed by Android (Google) Code Review

View File

@@ -751,10 +751,10 @@ class ActivityMetricsLogger {
if (abort) {
launchObserverNotifyActivityLaunchCancelled(info);
} else {
logAppTransitionFinished(info);
if (info.isInterestingToLoggerAndObserver()) {
launchObserverNotifyActivityLaunchFinished(info, timestampNs);
}
logAppTransitionFinished(info);
}
info.mPendingDrawActivities.clear();
mTransitionInfoList.remove(info);