Merge "Quick fix to enable orientation lock while dragging workspace items."
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java
index cc656bc..3239de8 100644
--- a/src/com/android/launcher2/Workspace.java
+++ b/src/com/android/launcher2/Workspace.java
@@ -2179,6 +2179,7 @@
dragRect = new Rect(left, top, right, bottom);
}
+ mLauncher.lockScreenOrientation();
mDragController.startDrag(b, screenX, screenY, this, child.getTag(),
DragController.DRAG_ACTION_MOVE, dragRect);
b.recycle();