diff options
| -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); |