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

Commit a27926ec authored by Alberto Gonzalez's avatar Alberto Gonzalez
Browse files

Log activity_start_timestamp_millis in AppStartFullyDrawn.

Populate activity_start_timestamp_millis in AppStartFullyDrawn so that
it can be matched with AppStartOccurred.

Bug: 212815020
Test: atest hostsidetests/statsdatom/src/android/cts/statsdatom/appstart/AppStartStatsTests.java
Change-Id: I27b3c268774c7bef095c8cb09ccf96747177d73f
parent d86e82b3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1253,7 +1253,8 @@ class ActivityMetricsLogger {
                info.mSourceEventDelayMs,
                isIncremental,
                isLoading,
                info.mLastLaunchedActivity.info.name.hashCode());
                info.mLastLaunchedActivity.info.name.hashCode(),
                TimeUnit.NANOSECONDS.toMillis(info.mLaunchingState.mStartRealtimeNs));

        // Ends the trace started at the beginning of this function. This is located here to allow
        // the trace slice to have a noticable duration.