Home
last modified time | relevance | path

Searched refs:targetVersion (Results 1 – 2 of 2) 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/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