diff options
author | Michael Jurka <mikejurka@google.com> | 2011-08-29 14:02:47 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-08-29 14:23:30 -0700 |
commit | b60fd0eafbb4e6e61b429c403f024dc903bc483a (patch) | |
tree | 041c870e297bccca1f848db73204a99e918b0b45 /src/com/android/launcher2/Launcher.java | |
parent | fe1f9b0bd47c611333d1f14261be80ffac08d152 (diff) | |
download | packages_apps_trebuchet-b60fd0eafbb4e6e61b429c403f024dc903bc483a.zip packages_apps_trebuchet-b60fd0eafbb4e6e61b429c403f024dc903bc483a.tar.gz packages_apps_trebuchet-b60fd0eafbb4e6e61b429c403f024dc903bc483a.tar.bz2 |
Tagging where ItemInfos are created for debug purposes
Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
Diffstat (limited to 'src/com/android/launcher2/Launcher.java')
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index 6c446a2..f05850b 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -176,7 +176,7 @@ public final class Launcher extends Activity private AppWidgetManager mAppWidgetManager; private LauncherAppWidgetHost mAppWidgetHost; - private ItemInfo mPendingAddInfo = new ItemInfo(); + private ItemInfo mPendingAddInfo = new ItemInfo("1"); private int[] mTmpAddItemCellCoordinates = new int[2]; private FolderInfo mFolderInfo; @@ -930,7 +930,7 @@ public final class Launcher extends Activity } // Build Launcher-specific widget info and save to database - LauncherAppWidgetInfo launcherInfo = new LauncherAppWidgetInfo(appWidgetId); + LauncherAppWidgetInfo launcherInfo = new LauncherAppWidgetInfo(appWidgetId, "2"); launcherInfo.spanX = spanXY[0]; launcherInfo.spanY = spanXY[1]; @@ -1474,7 +1474,7 @@ public final class Launcher extends Activity FolderIcon addFolder(CellLayout layout, long container, final int screen, int cellX, int cellY) { - final FolderInfo folderInfo = new FolderInfo(); + final FolderInfo folderInfo = new FolderInfo("3"); folderInfo.title = getText(R.string.folder_name); // Update the model |