diff options
| author | 2022-08-23 09:45:22 +0000 | |
|---|---|---|
| committer | 2022-08-23 09:45:22 +0000 | |
| commit | 0c867c023abc998638cde97d40a66ad4fe631fd4 (patch) | |
| tree | aba204a1b1ecfce9df48e8c58e6f9c086c3a9f7c | |
| parent | 16d3ef6a2e2e687d3803a50e4d25004f1906e360 (diff) | |
| parent | 2f37c0d5cf151a882aa25521afb149c745a163f6 (diff) | |
Merge "Avoid misleading log while warm launch"
| -rw-r--r-- | services/core/java/com/android/server/wm/ActivityTaskSupervisor.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/services/core/java/com/android/server/wm/ActivityTaskSupervisor.java b/services/core/java/com/android/server/wm/ActivityTaskSupervisor.java index 5a1afc49c62b..20032d668344 100644 --- a/services/core/java/com/android/server/wm/ActivityTaskSupervisor.java +++ b/services/core/java/com/android/server/wm/ActivityTaskSupervisor.java @@ -789,7 +789,7 @@ public class ActivityTaskSupervisor implements RecentTasks.Callbacks { // schedule launch ticks to collect information about slow apps. r.startLaunchTickingLocked(); - + r.lastLaunchTime = SystemClock.uptimeMillis(); r.setProcess(proc); // Ensure activity is allowed to be resumed after process has set. @@ -835,8 +835,6 @@ public class ActivityTaskSupervisor implements RecentTasks.Callbacks { final IActivityClientController activityClientController = proc.hasEverLaunchedActivity() ? null : mService.mActivityClientController; r.launchCount++; - r.lastLaunchTime = SystemClock.uptimeMillis(); - proc.setLastActivityLaunchTime(r.lastLaunchTime); if (DEBUG_ALL) Slog.v(TAG, "Launching: " + r); |