Rename updatePreferences() to upgradePreferences()

This is really an upgrade of the preference store and not an update of
values, it also is consistent with SQLiteOpenHelper.onUpgrade().
This commit is contained in:
Thialfihar committed 2015-07-21 20:56:42 +02:00
1 parent 86d95e4d40
commit 3b67c9d894
2 files changed
+2 -2

No files matched your search

@@ -356,7 +356,7 @@ public class Preferences {
}
}
public void updatePreferences() {
public void upgradePreferences() {
if (mSharedPreferences.getInt(Constants.Pref.PREF_DEFAULT_VERSION, 0) !=
Constants.Defaults.PREF_VERSION) {
switch (mSharedPreferences.getInt(Constants.Pref.PREF_DEFAULT_VERSION, 0)) {