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

This commit is contained in:
Adam Cohen authored and Android (Google) Code Review committed 2012-02-14 16:45:40 -08:00
commit 038085598c
1 file changed
+1 -2
+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;