Make sure to report activity launch time when starting from recents

Bug: 27295491
Change-Id: I27d660ccc960610f39c72ba9bbab5963746fcd45
This commit is contained in:
Jorim Jaggi
2016-04-09 01:39:40 -07:00
parent 971d8e6399
commit 09c4954cc1

View 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