Automated import from //branches/master/...@140671,140671

This commit is contained in:
Jeffrey Sharkey 2009-03-24 18:12:41 -07:00 committed by The Android Open Source Project
parent 7c7a07377f
commit 5eb817cc25
1 changed files with 18 additions and 16 deletions

View File

@ -1354,6 +1354,7 @@ public final class Launcher extends Activity implements View.OnClickListener, On
final Workspace workspace = mWorkspace;
final boolean desktopLocked = mDesktopLocked;
if (!appWidgets.isEmpty()) {
final LauncherAppWidgetInfo item = appWidgets.removeFirst();
final int appWidgetId = item.appWidgetId;
@ -1369,6 +1370,7 @@ public final class Launcher extends Activity implements View.OnClickListener, On
item.cellY, item.spanX, item.spanY, !desktopLocked);
workspace.requestLayout();
}
if (appWidgets.isEmpty()) {
if (PROFILE_ROTATE) {