summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/OverviewSettingsPanel.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/OverviewSettingsPanel.java')
-rw-r--r--src/com/android/launcher3/OverviewSettingsPanel.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/com/android/launcher3/OverviewSettingsPanel.java b/src/com/android/launcher3/OverviewSettingsPanel.java
index 2403d2344..e07c16e1d 100644
--- a/src/com/android/launcher3/OverviewSettingsPanel.java
+++ b/src/com/android/launcher3/OverviewSettingsPanel.java
@@ -90,7 +90,6 @@ public class OverviewSettingsPanel {
((SlidingUpPanelLayout) mOverviewPanel)
.setPanelSlideListener(new SettingsSimplePanelSlideListener());
- //Quick Settings Buttons
View widgetButton = mLauncher.findViewById(R.id.widget_button);
widgetButton.setOnClickListener(new OnClickListener() {
@Override
@@ -109,6 +108,7 @@ public class OverviewSettingsPanel {
});
wallpaperButton.setOnTouchListener(mLauncher.getHapticFeedbackTouchListener());
+ //Quick Settings Button
View settingsButton = mLauncher.findViewById(R.id.settings_button);
settingsButton.setOnClickListener(new OnClickListener() {
@Override
@@ -120,6 +120,18 @@ public class OverviewSettingsPanel {
});
settingsButton.setOnTouchListener(mLauncher.getHapticFeedbackTouchListener());
+ //Manage Apps Button
+ View manageAppsButton = mLauncher.findViewById(R.id.manage_apps_button);
+ manageAppsButton.setOnClickListener(new OnClickListener() {
+ @Override
+ public void onClick(View arg0) {
+ if (!mLauncher.getWorkspace().isSwitchingState()) {
+ mLauncher.startManageApps();
+ }
+ }
+ });
+ manageAppsButton.setOnTouchListener(mLauncher.getHapticFeedbackTouchListener());
+
View defaultScreenButton = mLauncher.findViewById(R.id.default_screen_button);
defaultScreenButton.setOnClickListener(new OnClickListener() {
@Override