diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index f1ce23524e..c18574ad5b 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java @@ -2596,6 +2596,8 @@ public class Launcher extends Activity } } + public void onDragStarted(View view) {} + /** * Called when the user stops interacting with the launcher. * This implies that the user is now on the homescreen and is not doing housekeeping. diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index a22b02508f..1732e37fbb 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -2598,6 +2598,7 @@ public class Workspace extends SmoothPagedView } public void beginDragShared(View child, DragSource source) { + mLauncher.onDragStarted(child); // The drag bitmap follows the touch point around on the screen final Bitmap b = createDragBitmap(child, new Canvas(), DRAG_BITMAP_PADDING);