diff options
author | Winson Chung <winsonc@google.com> | 2011-08-04 11:04:45 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-08-04 11:16:05 -0700 |
commit | 46180f8132c4b69878f406ac2fb06032d00ff567 (patch) | |
tree | 54f9aadda25bc0a10b39c7ace0c9f9eb0e170299 /src/com/android/launcher2/Launcher.java | |
parent | 459814b7e6d6c9bb6b0569dcedb455f6fab3aa9c (diff) | |
download | packages_apps_trebuchet-46180f8132c4b69878f406ac2fb06032d00ff567.zip packages_apps_trebuchet-46180f8132c4b69878f406ac2fb06032d00ff567.tar.gz packages_apps_trebuchet-46180f8132c4b69878f406ac2fb06032d00ff567.tar.bz2 |
Disabling menu completely.
Change-Id: I2a38baec66cb4f006da96110d93727f8edb7b647
Diffstat (limited to 'src/com/android/launcher2/Launcher.java')
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index ac85f98..481bc05 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -1195,43 +1195,6 @@ public final class Launcher extends Activity appSearchData, globalSearch); } - @Override - public boolean onCreateOptionsMenu(Menu menu) { - super.onCreateOptionsMenu(menu); - return true; - } - - @Override - public boolean onPrepareOptionsMenu(Menu menu) { - super.onPrepareOptionsMenu(menu); - - startWallpaper(); - return true; - } - - @Override - public boolean onOptionsItemSelected(MenuItem item) { - switch (item.getItemId()) { - case MENU_ADD: - addItems(); - return true; - case MENU_MANAGE_APPS: - manageApps(); - return true; - case MENU_WALLPAPER_SETTINGS: - startWallpaper(); - return true; - case MENU_SEARCH: - onSearchRequested(); - return true; - case MENU_NOTIFICATIONS: - showNotifications(); - return true; - } - - return super.onOptionsItemSelected(item); - } - /** * Indicates that we want global search for this activity by setting the globalSearch * argument for {@link #startSearch} to true. |