+ }
+
+ private void updateTileSummary(SharedPreferences sharedPreferences, String changedkey) {
+ if (changedkey.equals(KEY_PREF_TILE)) {
+ String name = sharedPreferences.getString(KEY_PREF_TILE, "classic");
+
+ @SuppressWarnings("deprecation")
+ Preference myPref = findPreference(KEY_PREF_TILE);
+ myPref.setSummary("Current Tileset: " + name);
+ }
+ }
+