diff options
Diffstat (limited to 'src/com/android/launcher3/Workspace.java')
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 4dca5997a..9dfe18ba2 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -2951,6 +2951,11 @@ public class Workspace extends SmoothPagedView float smallestDistSoFar = Float.MAX_VALUE; for (int i = 0; i < screenCount; i++) { + // The custom content screen is not a valid drag over option + if (mScreenOrder.get(i) == CUSTOM_CONTENT_SCREEN_ID) { + continue; + } + CellLayout cl = (CellLayout) getChildAt(i); final float[] touchXy = {originX, originY}; |