Quick fix to enable orientation lock while dragging workspace items.
Change-Id: I63663e81d20646296892615405b88736ecae94b0
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java
index 49cab80..4c23845 100644
--- a/src/com/android/launcher2/Workspace.java
+++ b/src/com/android/launcher2/Workspace.java
@@ -2164,6 +2164,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();