mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 09:08:49 -05:00
Add settings export for remote search settings.
This commit is contained in:
parent
ed3f3117b6
commit
d50e07bf55
@ -215,6 +215,16 @@ public class AccountSettings {
|
||||
new V(1, new IntegerResourceSetting(5,
|
||||
R.array.account_settings_vibrate_times_label))
|
||||
));
|
||||
s.put("allowRemoteSearch", Settings.versions(
|
||||
new V(16, new BooleanSetting(false))
|
||||
));
|
||||
s.put("remoteSearchNumResults", Settings.versions(
|
||||
new V(16, new IntegerResourceSetting(Account.DEFAULT_REMOTE_SEARCH_NUM_RESULTS,
|
||||
R.array.account_settings_remote_search_num_results_values))
|
||||
));
|
||||
s.put("remoteSearchFullText", Settings.versions(
|
||||
new V(16, new BooleanSetting(false))
|
||||
));
|
||||
|
||||
SETTINGS = Collections.unmodifiableMap(s);
|
||||
|
||||
|
@ -35,7 +35,7 @@ public class Settings {
|
||||
*
|
||||
* @see SettingsExporter
|
||||
*/
|
||||
public static final int VERSION = 15;
|
||||
public static final int VERSION = 16;
|
||||
|
||||
public static Map<String, Object> validate(int version, Map<String,
|
||||
TreeMap<Integer, SettingsDescription>> settings,
|
||||
|
Loading…
Reference in New Issue
Block a user