Merge "Fixing annoying bug where widget would drop to side page"

This commit is contained in:
Adam Cohen
2012-02-14 16:45:40 -08:00
committed by Android (Google) Code Review
+1 -2
View File
@@ -2674,8 +2674,7 @@ public class Workspace extends SmoothPagedView
public void onDragOver(DragObject d) {
// Skip drag over events while we are dragging over side pages
if (mInScrollArea) return;
if (mIsSwitchingState) return;
if (mInScrollArea || mIsSwitchingState || mState == State.SMALL) return;
Rect r = new Rect();
CellLayout layout = null;