Widget resizing obeys minResizeWidth/Height
Change-Id: I42c8fa118b4d45ce88b4f2b724643bf471d62cd2
This commit is contained in:
1 parent
f5e078c670
commit
9efd4a2a36
1 file changed
+1
-1
@@ -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];
|
||||
|
||||
|
||||
Reference in new issue
Block a user