Added logging for HOME_INTENT and BACK commands.

Document: go/false-longpress-overview

Change-Id: If6ba4996c861a44f4950b41acb4246e3a483d8f2
This commit is contained in:
Jon Miranda
2016-10-06 10:53:29 -07:00
parent 0860e41d50
commit feba90fe80
6 changed files with 146 additions and 38 deletions

View File

@@ -183,18 +183,20 @@ public class Workspace extends PagedView
// in all apps or customize mode)
public enum State {
NORMAL (false, false),
NORMAL_HIDDEN (false, false),
SPRING_LOADED (false, true),
OVERVIEW (true, true),
OVERVIEW_HIDDEN (true, false);
NORMAL (false, false, LauncherLogProto.WORKSPACE),
NORMAL_HIDDEN (false, false, LauncherLogProto.ALLAPPS),
SPRING_LOADED (false, true, LauncherLogProto.WORKSPACE),
OVERVIEW (true, true, LauncherLogProto.OVERVIEW),
OVERVIEW_HIDDEN (true, false, LauncherLogProto.WIDGETS);
public final boolean shouldUpdateWidget;
public final boolean hasMultipleVisiblePages;
public final int containerType;
State(boolean shouldUpdateWidget, boolean hasMultipleVisiblePages) {
State(boolean shouldUpdateWidget, boolean hasMultipleVisiblePages, int containerType) {
this.shouldUpdateWidget = shouldUpdateWidget;
this.hasMultipleVisiblePages = hasMultipleVisiblePages;
this.containerType = containerType;
}
}