1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Change settings version to 18 to match what's currrently on master.

This commit is contained in:
Andrew Chen 2012-09-25 15:50:47 -07:00
parent 2541753aff
commit d88a275840
2 changed files with 4 additions and 4 deletions

View File

@ -216,14 +216,14 @@ public class AccountSettings {
R.array.account_settings_vibrate_times_label)) R.array.account_settings_vibrate_times_label))
)); ));
s.put("allowRemoteSearch", Settings.versions( s.put("allowRemoteSearch", Settings.versions(
new V(16, new BooleanSetting(false)) new V(18, new BooleanSetting(false))
)); ));
s.put("remoteSearchNumResults", Settings.versions( s.put("remoteSearchNumResults", Settings.versions(
new V(16, new IntegerResourceSetting(Account.DEFAULT_REMOTE_SEARCH_NUM_RESULTS, new V(18, new IntegerResourceSetting(Account.DEFAULT_REMOTE_SEARCH_NUM_RESULTS,
R.array.account_settings_remote_search_num_results_values)) R.array.account_settings_remote_search_num_results_values))
)); ));
s.put("remoteSearchFullText", Settings.versions( s.put("remoteSearchFullText", Settings.versions(
new V(16, new BooleanSetting(false)) new V(18, new BooleanSetting(false))
)); ));
SETTINGS = Collections.unmodifiableMap(s); SETTINGS = Collections.unmodifiableMap(s);

View File

@ -35,7 +35,7 @@ public class Settings {
* *
* @see SettingsExporter * @see SettingsExporter
*/ */
public static final int VERSION = 16; public static final int VERSION = 18;
public static Map<String, Object> validate(int version, Map<String, public static Map<String, Object> validate(int version, Map<String,
TreeMap<Integer, SettingsDescription>> settings, TreeMap<Integer, SettingsDescription>> settings,