Merge "Quick fix to enable orientation lock while dragging workspace items."

This commit is contained in:
Winson Chung
2011-04-26 14:49:18 -07:00
committed by Android (Google) Code Review
+1
View File
@@ -2179,6 +2179,7 @@ public class Workspace extends SmoothPagedView
dragRect = new Rect(left, top, right, bottom);
}
mLauncher.lockScreenOrientation();
mDragController.startDrag(b, screenX, screenY, this, child.getTag(),
DragController.DRAG_ACTION_MOVE, dragRect);
b.recycle();