Searched refs:targetVersion (Results 1 – 4 of 4) sorted by relevance
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()
234 final int targetVersion = Integer.parseInt(getString(R.string.pref_version)); in maybeHandleSharedPrefsUpgrade() local235 if (targetVersion > existingVersion) { in maybeHandleSharedPrefsUpgrade()237 " to " + targetVersion); in maybeHandleSharedPrefsUpgrade()240 factory.getApplicationPrefs().onUpgrade(existingVersion, targetVersion); in maybeHandleSharedPrefsUpgrade()246 .onUpgrade(existingVersion, targetVersion); in maybeHandleSharedPrefsUpgrade()250 targetVersion); in maybeHandleSharedPrefsUpgrade()256 } else if (targetVersion < existingVersion) { in maybeHandleSharedPrefsUpgrade()260 "oldVersion = " + existingVersion + ", newVersion = " + targetVersion); in maybeHandleSharedPrefsUpgrade()
42 public SettingsUpgrader(String versionKey, int targetVersion) { in SettingsUpgrader() argument44 mTargetVersion = targetVersion; in SettingsUpgrader()67 int targetVersion); in upgrade() argument
51 private AbstractTopicsDbMigrator initMigrator(int targetVersion) { in initMigrator() argument52 return new AbstractTopicsDbMigrator(targetVersion) { in initMigrator()