From 62f05a1bf7da5866c5a6d1df982ce7005e4ac8fe Mon Sep 17 00:00:00 2001 From: Raj Yengisetty Date: Thu, 12 Jun 2014 18:04:33 -0700 Subject: Remove old preference activity * Also cleanup & remove unused strings Change-Id: I0b9f2405ab98b0df612a18ccfaa5d9ba98876d8a --- .../android/launcher3/WallpaperPickerActivity.java | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'WallpaperPicker/src') diff --git a/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java b/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java index 08caf3b42..7f05ef42d 100644 --- a/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java +++ b/WallpaperPicker/src/com/android/launcher3/WallpaperPickerActivity.java @@ -692,25 +692,6 @@ public class WallpaperPickerActivity extends WallpaperCropActivity { return thumb; } - @Override - public boolean onCreateOptionsMenu(Menu menu) { - menu.add(0, MENU_WALLPAPER_SCROLL, 0, - R.string.wallpaper_scroll).setCheckable(true); - - return super.onCreateOptionsMenu(menu); - } - - @Override - public boolean onPrepareOptionsMenu(Menu menu) { - MenuItem wallpaperScroll = menu.findItem(MENU_WALLPAPER_SCROLL); - - wallpaperScroll.setChecked(SettingsProvider.getBoolean(this, - SettingsProvider.SETTINGS_UI_HOMESCREEN_SCROLLING_WALLPAPER_SCROLL, - R.bool.preferences_interface_homescreen_scrolling_wallpaper_scroll_default)); - - return super.onPrepareOptionsMenu(menu); - } - @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle presses on the action bar items -- cgit v1.2.3