Fix widget resizes that shouldn't (issue 6380435)

Change-Id: Ia1da2df16ca184e6f451775597fa33ee38df6122
This commit is contained in:
Adam Cohen committed 2012-04-30 18:59:53 -07:00
1 parent accf3bffed
commit 2f093b6ad1
4 files changed
+23 -19

No files matched your search

@@ -79,7 +79,7 @@ public class AppWidgetResizeFrame extends FrameLayout {
mWorkspace = (Workspace) dragLayer.findViewById(R.id.workspace);
final AppWidgetProviderInfo info = widgetView.getAppWidgetInfo();
int[] result = mLauncher.getMinSpanForWidget(info);
int[] result = Launcher.getMinSpanForWidget(mLauncher, info);
mMinHSpan = result[0];
mMinVSpan = result[1];