Searched refs:lastVersion (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/settings/
H A DSettingsUpgrader.java52 int lastVersion = getLastVersion(settingsManager);
53 if (lastVersion != mTargetVersion) {
54 upgrade(settingsManager, lastVersion, mTargetVersion);
62 * lastVersion. Typically an Upgrader will check whether lastVersion is less
64 * if lastVersion is less than that known version.
66 protected abstract void upgrade(SettingsManager settingsManager, int lastVersion, argument
H A DAppUpgrader.java122 public void upgrade(SettingsManager settingsManager, int lastVersion, int currentVersion) { argument
127 if (lastVersion < CAMERA_SETTINGS_STRINGS_UPGRADE) {
131 if (lastVersion < FORCE_LOCATION_CHOICE_VERSION) {
135 if (lastVersion < CAMERA_SIZE_SETTING_UPGRADE_VERSION) {
150 if (lastVersion < CAMERA_MODULE_SETTINGS_FILES_RENAMED_VERSION) {
156 if (lastVersion < CAMERA_SETTINGS_SELECTED_MODULE_INDEX) {
160 if (lastVersion < NEEDS_N5_16by9_RESOLUTION_SWAP) {

Completed in 43 milliseconds