diff options
author | Hyunyoung Song <hyunyoungs@google.com> | 2016-09-01 12:47:12 -0700 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2016-09-01 12:47:12 -0700 |
commit | 59a238095e82fd02355f4cb53abe01655a50b051 (patch) | |
tree | 59aed70bde91588fff3a51c2940c42fb814d6d07 /src/com/android/launcher3/DragSource.java | |
parent | 4a4b49ff3482cbe7f8192807cdc99437810fe518 (diff) | |
download | android_packages_apps_Trebuchet-59a238095e82fd02355f4cb53abe01655a50b051.tar.gz android_packages_apps_Trebuchet-59a238095e82fd02355f4cb53abe01655a50b051.tar.bz2 android_packages_apps_Trebuchet-59a238095e82fd02355f4cb53abe01655a50b051.zip |
Support user event logging for drag and drop
b/30039490
Supported in this CL:
- DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS]
drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS]
- Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET]
- $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging
Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603
Diffstat (limited to 'src/com/android/launcher3/DragSource.java')
-rw-r--r-- | src/com/android/launcher3/DragSource.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/DragSource.java b/src/com/android/launcher3/DragSource.java index da32d82a6..efbb9d7b6 100644 --- a/src/com/android/launcher3/DragSource.java +++ b/src/com/android/launcher3/DragSource.java @@ -19,11 +19,12 @@ package com.android.launcher3; import android.view.View; import com.android.launcher3.DropTarget.DragObject; +import com.android.launcher3.logging.UserEventDispatcher.LaunchSourceProvider; /** * Interface defining an object that can originate a drag. */ -public interface DragSource { +public interface DragSource extends LaunchSourceProvider { /** * @return whether items dragged from this source supports |