OSDN Git Service

Make sure to report activity launch time when starting from recents
authorJorim Jaggi <jjaggi@google.com>
Sat, 9 Apr 2016 08:39:40 +0000 (01:39 -0700)
committerJorim Jaggi <jjaggi@google.com>
Tue, 12 Apr 2016 18:18:23 +0000 (18:18 +0000)
Bug: 27295491
Change-Id: I27d660ccc960610f39c72ba9bbab5963746fcd45

services/core/java/com/android/server/am/ActivityStackSupervisor.java

index d34e8fc..53c6024 100644 (file)
@@ -4248,6 +4248,7 @@ public final class ActivityStackSupervisor implements DisplayListener {
         // Work Challenge is present) let startActivityInPackage handle the intercepting.
         if (!mService.mUserController.shouldConfirmCredentials(task.userId)
                 && task.getRootActivity() != null) {
+            mActivityMetricsLogger.notifyActivityLaunching();
             mService.moveTaskToFrontLocked(task.taskId, 0, bOptions);
 
             // If we are launching the task in the docked stack, put it into resizing mode so