Log source component instead of current task base intent
- Report original launch source component to ensure app relaunches can be associated with the same app for predictions. Bug: 109698096 Bug: 109675704 Change-Id: Icc5e95560777ad827fd2430cf3b3b052b65eb1b6
This commit is contained in:
@@ -118,7 +118,7 @@ public class TaskView extends FrameLayout implements TaskCallbacks, PageCallback
|
||||
launchTask(true /* animate */);
|
||||
BaseActivity.fromContext(context).getUserEventDispatcher().logTaskLaunchOrDismiss(
|
||||
Touch.TAP, Direction.NONE, getRecentsView().indexOfChild(this),
|
||||
TaskUtils.getComponentKeyForTask(getTask().key));
|
||||
TaskUtils.getLaunchComponentKeyForTask(getTask().key));
|
||||
});
|
||||
setOutlineProvider(new TaskOutlineProvider(getResources()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user