Searched refs:targetVersion (Results 1 – 2 of 2) 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()
42 public SettingsUpgrader(String versionKey, int targetVersion) { in SettingsUpgrader() argument44 mTargetVersion = targetVersion; in SettingsUpgrader()67 int targetVersion); in upgrade() argument