Permalink
Browse files

Merge "Launcher2: restart launcher when scrolling option is changed."…

… into ics
  • Loading branch information...
preludedrew authored and Gerrit Code Review committed Apr 16, 2012
2 parents c9193eb + f96ad75 commit 5ab3307ce3fa3ff0083abfc51caa0c1073f8595d
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/com/android/launcher2/preference/Preferences.java
@@ -33,6 +33,7 @@
private static final String TAG = "Launcher.Preferences";
private static final String SEARCHBAR_PREF = "ui_homescreen_general_search";
+ private static final String SCROLLING_PREF = "ui_homescreen_scrolling_scroll_wallpaper";
private SharedPreferences mPrefs;
@@ -55,6 +56,8 @@ public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen
, Preference preference) {
if (preference.getKey().equals(SEARCHBAR_PREF)) {
setForReset();
+ } else if (preference.getKey().equals(SCROLLING_PREF)) {
+ setForReset();
}
return false;
}

0 comments on commit 5ab3307

Please sign in to comment.