Merge "Preventing widgets that don't fit from showing in tray. (Bug 6331357)"

This commit is contained in:
Winson Chung
2012-04-12 17:52:58 -07:00
committed by Android (Google) Code Review
3 changed files with 24 additions and 20 deletions

View File

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