Home
last modified time | relevance | path

Searched refs:targetVersion (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/
DBugleApplication.java233 final int targetVersion = Integer.parseInt(getString(R.string.pref_version)); in maybeHandleSharedPrefsUpgrade() local
234 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()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseUpgradeHelper.java74 final int maxVersionForRelease, final int targetVersion) throws Exception { in checkAndUpdateVersionAtReleaseEnd() argument
75 if (maxVersionForRelease < targetVersion) { in checkAndUpdateVersionAtReleaseEnd()
83 if (currentVersion != targetVersion) { in checkAndUpdateVersionAtReleaseEnd()
86 currentVersion + " to version " + targetVersion); in checkAndUpdateVersionAtReleaseEnd()
89 return targetVersion; in checkAndUpdateVersionAtReleaseEnd()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsUpgrader.java42 public SettingsUpgrader(String versionKey, int targetVersion) { in SettingsUpgrader() argument
44 mTargetVersion = targetVersion; in SettingsUpgrader()
67 int targetVersion); in upgrade() argument