summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Workspace.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/Workspace.java')
-rw-r--r--src/com/android/launcher3/Workspace.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java
index 67d66f4c3..8cf2c41f6 100644
--- a/src/com/android/launcher3/Workspace.java
+++ b/src/com/android/launcher3/Workspace.java
@@ -2950,6 +2950,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};