Searched refs:lastVersion (Results 1 – 2 of 2) sorted by relevance
52 int lastVersion = getLastVersion(settingsManager); in upgrade() local53 if (lastVersion != mTargetVersion) { in upgrade()54 upgrade(settingsManager, lastVersion, mTargetVersion); in upgrade()66 protected abstract void upgrade(SettingsManager settingsManager, int lastVersion, in upgrade() argument
122 public void upgrade(SettingsManager settingsManager, int lastVersion, int currentVersion) { in upgrade() argument127 if (lastVersion < CAMERA_SETTINGS_STRINGS_UPGRADE) { in upgrade()131 if (lastVersion < FORCE_LOCATION_CHOICE_VERSION) { in upgrade()135 if (lastVersion < CAMERA_SIZE_SETTING_UPGRADE_VERSION) { in upgrade()150 if (lastVersion < CAMERA_MODULE_SETTINGS_FILES_RENAMED_VERSION) { in upgrade()156 if (lastVersion < CAMERA_SETTINGS_SELECTED_MODULE_INDEX) { in upgrade()160 if (lastVersion < NEEDS_N5_16by9_RESOLUTION_SWAP) { in upgrade()