Fix widget resizes that shouldn't (issue 6380435)

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

View File

@@ -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];