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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user