Merge "Add StatsLog*Manager for logging. Bug: 113043444" into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
08584e18d6
@@ -168,9 +168,12 @@ public class TaskView extends FrameLayout implements PageCallbacks {
|
||||
return;
|
||||
}
|
||||
launchTask(true /* animate */);
|
||||
|
||||
fromContext(context).getUserEventDispatcher().logTaskLaunchOrDismiss(
|
||||
Touch.TAP, Direction.NONE, getRecentsView().indexOfChild(this),
|
||||
TaskUtils.getLaunchComponentKeyForTask(getTask().key));
|
||||
fromContext(context).getStatsLogManager().logTaskLaunch(getRecentsView(),
|
||||
TaskUtils.getLaunchComponentKeyForTask(getTask().key));
|
||||
});
|
||||
setOutlineProvider(new TaskOutlineProvider(getResources()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user