diff options
author | Winson Chung <winsonc@google.com> | 2010-10-25 15:35:32 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-10-25 15:35:32 -0700 |
commit | fa42de7249ee96926c61e7632a84205a29b6e113 (patch) | |
tree | bac5226cfbb9aca8c427a6e09c0be430797b6d27 /src/com/android/launcher2/Launcher.java | |
parent | 2319179db2f3be5c9f90628c3db76795a563140a (diff) | |
parent | 5974adcc7261a006f4f3857074568d49bd05e1f4 (diff) | |
download | android_packages_apps_Trebuchet-fa42de7249ee96926c61e7632a84205a29b6e113.tar.gz android_packages_apps_Trebuchet-fa42de7249ee96926c61e7632a84205a29b6e113.tar.bz2 android_packages_apps_Trebuchet-fa42de7249ee96926c61e7632a84205a29b6e113.zip |
Merge "Removing the Folders tab."
Diffstat (limited to 'src/com/android/launcher2/Launcher.java')
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index 9eddbf206..5d45d2714 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -165,7 +165,6 @@ public final class Launcher extends Activity // tags for the customization tabs private static final String WIDGETS_TAG = "widgets"; private static final String APPLICATIONS_TAG = "applications"; - private static final String FOLDERS_TAG = "folders"; private static final String SHORTCUTS_TAG = "shortcuts"; private static final String WALLPAPERS_TAG = "wallpapers"; @@ -288,9 +287,6 @@ public final class Launcher extends Activity String applicationsLabel = getString(R.string.applications_tab_label); mHomeCustomizationDrawer.addTab(mHomeCustomizationDrawer.newTabSpec(APPLICATIONS_TAG) .setIndicator(applicationsLabel).setContent(contentFactory)); - String foldersLabel = getString(R.string.folders_tab_label); - mHomeCustomizationDrawer.addTab(mHomeCustomizationDrawer.newTabSpec(FOLDERS_TAG) - .setIndicator(foldersLabel).setContent(contentFactory)); String wallpapersLabel = getString(R.string.wallpapers_tab_label); mHomeCustomizationDrawer.addTab(mHomeCustomizationDrawer.newTabSpec(WALLPAPERS_TAG) .setIndicator(wallpapersLabel).setContent(contentFactory)); @@ -316,9 +312,6 @@ public final class Launcher extends Activity } else if (tag == APPLICATIONS_TAG) { mCustomizePagedView.setCustomizationFilter( CustomizePagedView.CustomizationType.ApplicationCustomization); - } else if (tag == FOLDERS_TAG) { - mCustomizePagedView.setCustomizationFilter( - CustomizePagedView.CustomizationType.FolderCustomization); } else if (tag == WALLPAPERS_TAG) { mCustomizePagedView.setCustomizationFilter( CustomizePagedView.CustomizationType.WallpaperCustomization); |