Add logging for long presses. Reset elapsed timer when changing containers.

This is the first CL in a series of logging-related CLs. Upcoming CLs will
include using Commands (HOME_INTENT, BACK) and "tapping outside" of a container
logic.

Change-Id: I62f0a08c7a9d9fce0baa5c12c67e21f63ab16a7c
This commit is contained in:
Jon Miranda committed 2016-10-05 15:22:23 -07:00
1 parent cc3f3349f4
commit f3e35d9331
5 files changed
+86 -29

No files matched your search

+2
View File
@@ -2344,6 +2344,8 @@ public class Workspace extends PagedView
DeepShortcutsContainer dsc = DeepShortcutsContainer.showForIcon((BubbleTextView) child);
if (dsc != null) {
dragOptions.preDragCondition = dsc.createPreDragCondition();
mLauncher.getUserEventDispatcher().resetElapsedContainerMillis();
}
}