diff options
Diffstat (limited to 'src/com/android/launcher3/Workspace.java')
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 197c09a77..e6087a666 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -400,6 +400,13 @@ public class Workspace extends SmoothPagedView } } + /** + * @return A {@link Set} of {@link Long}s representing ids of the workspace screens + */ + public Set<Long> getWorkspaceScreenIds() { + return mWorkspaceScreens.keySet(); + } + // estimate the size of a widget with spans hSpan, vSpan. return MAX_VALUE for each // dimension if unsuccessful public int[] estimateItemSize(int hSpan, int vSpan, @@ -4462,6 +4469,7 @@ public class Workspace extends SmoothPagedView } if (cellLayout != null) { cellLayout.onDropChild(mDragInfo.cell); + cellLayout.setUseTempCoords(false); } } if ((d.cancelled || (beingCalledAfterUninstall && !mUninstallSuccessful)) |