Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… into ics
  • Loading branch information...
commit 5ab3307ce3fa3ff0083abfc51caa0c1073f8595d 2 parents c9193eb + f96ad75
Andrew Boren preludedrew authored Gerrit Code Review committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/com/android/launcher2/preference/Preferences.java
3  src/com/android/launcher2/preference/Preferences.java
View
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.