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

Commit 0d7df376 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update appstartinfo service start time " into main

parents 394de17c c4ce06fc
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -644,6 +644,12 @@ public final class ApplicationStartInfo implements Parcelable {
     * Timestamp {@link #START_TIMESTAMP_FULLY_DRAWN} is never guaranteed to be available as it is
     * dependant on devloper calling {@link Activity#reportFullyDrawn}.
     * </p>
     *
     * <p class="note">
     * Note: The timestamp {@link #START_TIMESTAMP_LAUNCH} for starts of type
     * {@link #START_COMPONENT_SERVICE} may be incorrect in
     * {@link android.os.Build.VERSION_CODES#BAKLAVA} and below.
     * </p>
     */
    public @NonNull Map<Integer, Long> getStartupTimestamps() {
        if (mStartupTimestampsNs == null) {
+1 −1
Original line number Diff line number Diff line
@@ -5773,7 +5773,7 @@ public final class ActiveServices {
            return null;
        }

        final long startTimeNs = SystemClock.elapsedRealtimeNanos();
        final long startTimeNs = SystemClock.uptimeNanos();

        if (DEBUG_SERVICE) {
            Slog.v(TAG_SERVICE, "Bringing up " + r + " " + r.intent + " fg=" + r.fgRequired);