diff options
author | Winson Chung <winsonc@google.com> | 2011-08-02 14:03:26 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-08-02 15:55:33 -0700 |
commit | 6a3fd3f042c8bfa7d83e29c1eeadff21323ab089 (patch) | |
tree | f316d10f51c06ebce812d5e3d9bf9dc1a023179e /src/com/android/launcher2/AddAdapter.java | |
parent | ed51cc9a12c50d12e7d30ed209a49f1a40858043 (diff) | |
download | packages_apps_trebuchet-6a3fd3f042c8bfa7d83e29c1eeadff21323ab089.zip packages_apps_trebuchet-6a3fd3f042c8bfa7d83e29c1eeadff21323ab089.tar.gz packages_apps_trebuchet-6a3fd3f042c8bfa7d83e29c1eeadff21323ab089.tar.bz2 |
Multitude of launcher behaviour changes.
- Merging widgets and shortcuts in widgets pane
- Removing legacy long press menu items (make it go straight to wallpapers)
- Removing old option menu (just making it point to wallpapers)
- Dropping user to workspace after adding an item (animations to be tweaked) or back to AppsCustomize only on failure/cancel
Change-Id: Ia73670ce76f321dc45defb27bb5a828764240ab4
Diffstat (limited to 'src/com/android/launcher2/AddAdapter.java')
-rw-r--r-- | src/com/android/launcher2/AddAdapter.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/launcher2/AddAdapter.java b/src/com/android/launcher2/AddAdapter.java index 5b7e92c..c2a424b 100644 --- a/src/com/android/launcher2/AddAdapter.java +++ b/src/com/android/launcher2/AddAdapter.java @@ -70,16 +70,8 @@ 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_widgets, - R.drawable.ic_launcher_appwidget, ITEM_APPWIDGET)); - mItems.add(new ListItem(res, R.string.group_shortcuts, - R.drawable.ic_launcher_application, ITEM_SHORTCUT)); mItems.add(new ListItem(res, R.string.group_wallpapers, R.drawable.ic_launcher_wallpaper, ITEM_WALLPAPER)); - } public View getView(int position, View convertView, ViewGroup parent) { |