mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
[WW logging] Log rankings for app launches
Bug: 158219113 Change-Id: Ib6db4e73e48ff27ca9d3a5348eea42e1f534dba1
This commit is contained in:
@@ -143,7 +143,13 @@ public class StatsLogManager implements ResourceBasedOverride {
|
||||
LAUNCHER_HOTSEAT_EDU_DENY(481),
|
||||
|
||||
@UiEvent(doc = "Hotseat education tip shown")
|
||||
LAUNCHER_HOTSEAT_EDU_ONLY_TIP(482);
|
||||
LAUNCHER_HOTSEAT_EDU_ONLY_TIP(482),
|
||||
|
||||
@UiEvent(doc = "App launch ranking logged for all apps predictions")
|
||||
LAUNCHER_ALL_APPS_RANKED(552),
|
||||
|
||||
@UiEvent(doc = "App launch ranking logged for hotseat predictions)")
|
||||
LAUNCHER_HOTSEAT_RANKED(553);
|
||||
// ADD MORE
|
||||
private final int mId;
|
||||
|
||||
@@ -217,6 +223,15 @@ public class StatsLogManager implements ResourceBasedOverride {
|
||||
public void log(EventEnum event, @Nullable ItemInfo itemInfo) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs an event.
|
||||
*
|
||||
* @param event an enum implementing EventEnum interface.
|
||||
* @param atomInfo item typically containing app or task launch related information.
|
||||
*/
|
||||
public void log(EventEnum event, InstanceId instanceId, LauncherAtom.ItemInfo atomInfo) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs an event and accompanying {@link LauncherState}s.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user