Send app launch events from TaskSwitcher

Sends AppTargetEvent with action launch and container CONTAINER_OVERVIEW to AppPredictor when user launches app form recents.

Bug: 155996363
Test: Manual
Change-Id: I3eb38f5737ecaeb07e59db460e8d809416132825
This commit is contained in:
Samuel Fufa committed 2020-06-19 14:14:52 -07:00
1 parent 5c33e250fc
commit 56b35b9d0a
4 files changed
+24 -6

No files matched your search

@@ -40,6 +40,7 @@ public class AppLaunchTracker implements ResourceBasedOverride {
public static final String CONTAINER_ALL_APPS = Integer.toString(ContainerType.ALLAPPS);
public static final String CONTAINER_PREDICTIONS = Integer.toString(ContainerType.PREDICTION);
public static final String CONTAINER_SEARCH = Integer.toString(ContainerType.SEARCHRESULT);
public static final String CONTAINER_OVERVIEW = Integer.toString(ContainerType.OVERVIEW);
public static final MainThreadInitializedObject<AppLaunchTracker> INSTANCE =