Wrap settings StringSet in new object to allow modification
This commit is contained in:
parent
6957e869ab
commit
2ece604dc3
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ public class Settings {
|
|||
}
|
||||
|
||||
private Set<String> getStringSet(int keyId, Set<String> defaultValue) {
|
||||
return settings.getStringSet(getResString(keyId), defaultValue);
|
||||
return new HashSet<String>(settings.getStringSet(getResString(keyId), defaultValue));
|
||||
}
|
||||
|
||||
private void setBoolean(int keyId, boolean value) {
|
||||
|
|
Loading…
Reference in a new issue