Fix bug with estimate drop cell offset
Change-Id: I9b8370a858dab7d656bbfb1897e469ef4f2aec06
diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java
index 3f60d50..62ede4d 100644
--- a/src/com/android/launcher2/CellLayout.java
+++ b/src/com/android/launcher2/CellLayout.java
@@ -704,7 +704,7 @@
final int countX = getCountX();
final int countY = getCountY();
- pointToCellRounded(originX + (mCellWidth / 2), originY + (mCellHeight / 2), result);
+ pointToCellRounded(originX, originY, result);
// If the item isn't fully on this screen, snap to the edges
int rightOverhang = result[0] + spanX - countX;