Searched refs:targetVersion (Results 1 – 3 of 3) sorted by relevance
233 final int targetVersion = Integer.parseInt(getString(R.string.pref_version)); in maybeHandleSharedPrefsUpgrade() local234 if (targetVersion > existingVersion) { in maybeHandleSharedPrefsUpgrade()236 " to " + targetVersion); in maybeHandleSharedPrefsUpgrade()239 factory.getApplicationPrefs().onUpgrade(existingVersion, targetVersion); in maybeHandleSharedPrefsUpgrade()245 .onUpgrade(existingVersion, targetVersion); in maybeHandleSharedPrefsUpgrade()249 targetVersion); in maybeHandleSharedPrefsUpgrade()255 } else if (targetVersion < existingVersion) { in maybeHandleSharedPrefsUpgrade()259 "oldVersion = " + existingVersion + ", newVersion = " + targetVersion); in maybeHandleSharedPrefsUpgrade()
74 final int maxVersionForRelease, final int targetVersion) throws Exception { in checkAndUpdateVersionAtReleaseEnd() argument75 if (maxVersionForRelease < targetVersion) { in checkAndUpdateVersionAtReleaseEnd()83 if (currentVersion != targetVersion) { in checkAndUpdateVersionAtReleaseEnd()86 currentVersion + " to version " + targetVersion); in checkAndUpdateVersionAtReleaseEnd()89 return targetVersion; in checkAndUpdateVersionAtReleaseEnd()
42 public SettingsUpgrader(String versionKey, int targetVersion) { in SettingsUpgrader() argument44 mTargetVersion = targetVersion; in SettingsUpgrader()67 int targetVersion); in upgrade() argument