summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AppsCustomizeTabHost.java
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2013-06-06 22:43:33 -0700
committerAdam Cohen <adamcohen@google.com>2013-06-06 22:44:32 -0700
commit947dc5431981e40ffc8d687604f7777d35915034 (patch)
treec2115c52699f3bbdc7cb30681c65e3b8745ff0a4 /src/com/android/launcher3/AppsCustomizeTabHost.java
parentb5fe60c8a502fb7e265e3183550478b2b2a49264 (diff)
downloadandroid_packages_apps_Trebuchet-947dc5431981e40ffc8d687604f7777d35915034.tar.gz
android_packages_apps_Trebuchet-947dc5431981e40ffc8d687604f7777d35915034.tar.bz2
android_packages_apps_Trebuchet-947dc5431981e40ffc8d687604f7777d35915034.zip
HACK: Getting rid of all apps button / all apps from AppsCustomizePagedView
Change-Id: I74e4a53e9486237ad246ebdfa9e97c6ed9475b58
Diffstat (limited to 'src/com/android/launcher3/AppsCustomizeTabHost.java')
-rw-r--r--src/com/android/launcher3/AppsCustomizeTabHost.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/launcher3/AppsCustomizeTabHost.java b/src/com/android/launcher3/AppsCustomizeTabHost.java
index 5d50fec03..c1f6733f4 100644
--- a/src/com/android/launcher3/AppsCustomizeTabHost.java
+++ b/src/com/android/launcher3/AppsCustomizeTabHost.java
@@ -80,9 +80,7 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
setCurrentTabByTag(getTabTagForContentType(type));
setOnTabChangedListener(this);
}
- void selectAppsTab() {
- setContentTypeImmediate(AppsCustomizePagedView.ContentType.Applications);
- }
+
void selectWidgetsTab() {
setContentTypeImmediate(AppsCustomizePagedView.ContentType.Widgets);
}
@@ -121,7 +119,6 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
tabView = (TextView) mLayoutInflater.inflate(R.layout.tab_widget_indicator, tabs, false);
tabView.setText(label);
tabView.setContentDescription(label);
- addTab(newTabSpec(APPS_TAB_TAG).setIndicator(tabView).setContent(contentFactory));
label = getContext().getString(R.string.widgets_tab_label);
tabView = (TextView) mLayoutInflater.inflate(R.layout.tab_widget_indicator, tabs, false);
tabView.setText(label);