From 46a30dba88c0d5b3fc1814950f10b5ad7cdb90d6 Mon Sep 17 00:00:00 2001 From: Jeffrey Sharkey <> Date: Tue, 24 Mar 2009 18:04:35 -0700 Subject: Automated import from //branches/cupcake/...@141650,141650 --- src/com/android/launcher/AddAdapter.java | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'src/com/android/launcher/AddAdapter.java') diff --git a/src/com/android/launcher/AddAdapter.java b/src/com/android/launcher/AddAdapter.java index 245a7a0c5..a6c889e13 100644 --- a/src/com/android/launcher/AddAdapter.java +++ b/src/com/android/launcher/AddAdapter.java @@ -36,13 +36,10 @@ public class AddAdapter extends BaseAdapter { private final ArrayList mItems = new ArrayList(); - public static final int ITEM_APPLICATION = 0; - public static final int ITEM_SHORTCUT = 1; - public static final int ITEM_SEARCH = 2; - public static final int ITEM_APPWIDGET = 3; - public static final int ITEM_LIVE_FOLDER = 4; - public static final int ITEM_FOLDER = 5; - public static final int ITEM_WALLPAPER = 6; + public static final int ITEM_SHORTCUT = 0; + public static final int ITEM_APPWIDGET = 1; + public static final int ITEM_LIVE_FOLDER = 2; + public static final int ITEM_WALLPAPER = 3; /** * Specific item in our list. @@ -71,9 +68,6 @@ public class AddAdapter extends BaseAdapter { // Create default actions Resources res = launcher.getResources(); - mItems.add(new ListItem(res, R.string.group_applications, - R.drawable.ic_launcher_application, ITEM_APPLICATION)); - mItems.add(new ListItem(res, R.string.group_shortcuts, R.drawable.ic_launcher_shortcut, ITEM_SHORTCUT)); @@ -83,9 +77,6 @@ public class AddAdapter extends BaseAdapter { mItems.add(new ListItem(res, R.string.group_live_folders, R.drawable.ic_launcher_folder_live, ITEM_LIVE_FOLDER)); - mItems.add(new ListItem(res, R.string.group_folder, - R.drawable.ic_launcher_folder, ITEM_FOLDER)); - mItems.add(new ListItem(res, R.string.group_wallpapers, R.drawable.ic_launcher_gallery, ITEM_WALLPAPER)); -- cgit v1.2.3