diff options
author | Adam Cohen <adamcohen@google.com> | 2011-07-19 16:32:15 -0700 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2011-07-19 17:58:58 -0700 |
commit | 9efd4a2a362b5209195e8691257b71ad465667f8 (patch) | |
tree | b5bb4e9ef9df8084ee98554715cdf9ea177d0b0f | |
parent | f5e078c6705d5598b2ceb4bd4c2ca8f175a11570 (diff) | |
download | packages_apps_trebuchet-9efd4a2a362b5209195e8691257b71ad465667f8.zip packages_apps_trebuchet-9efd4a2a362b5209195e8691257b71ad465667f8.tar.gz packages_apps_trebuchet-9efd4a2a362b5209195e8691257b71ad465667f8.tar.bz2 |
Widget resizing obeys minResizeWidth/Height
Change-Id: I42c8fa118b4d45ce88b4f2b724643bf471d62cd2
-rw-r--r-- | src/com/android/launcher2/AppWidgetResizeFrame.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/AppWidgetResizeFrame.java b/src/com/android/launcher2/AppWidgetResizeFrame.java index 22bd6e6..c7dbc0f 100644 --- a/src/com/android/launcher2/AppWidgetResizeFrame.java +++ b/src/com/android/launcher2/AppWidgetResizeFrame.java @@ -77,7 +77,7 @@ public class AppWidgetResizeFrame extends FrameLayout { mWorkspace = (Workspace) dragLayer.findViewById(R.id.workspace); final AppWidgetProviderInfo info = widgetView.getAppWidgetInfo(); - int[] result = mCellLayout.rectToCell(info.minWidth, info.minHeight, null); + int[] result = mCellLayout.rectToCell(info.minResizeWidth, info.minResizeHeight, null); mMinHSpan = result[0]; mMinVSpan = result[1]; |