summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2011-04-20 16:45:41 -0700
committerKenny Root <kroot@google.com>2011-04-20 16:45:41 -0700
commitaef35dde4d687b98146c449639a06f21228a0acc (patch)
tree9b4f1a1c9d14a8c426c6b809e1fd5b741a5dec83
parentff0f67d8dfe0cf97ba6130684bce2101193df57a (diff)
downloadframeworks_base-aef35dde4d687b98146c449639a06f21228a0acc.zip
frameworks_base-aef35dde4d687b98146c449639a06f21228a0acc.tar.gz
frameworks_base-aef35dde4d687b98146c449639a06f21228a0acc.tar.bz2
Increment database version to 65
The onUpgrade path was upgrading the database version to 65, but the current version was marked as 64. That led to the database being upgraded to 65 and then wiped because it didn't match 64. This was introduced in HC change 54d068ec6af0ee6d261a135400efe6816c6f5ffe Bug: 4319406 Change-Id: Ib6efcf34e820948d23d3a2b8ef3afc9012a93c22
-rw-r--r--packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
index d901c2c..b99c8b0 100644
--- a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
+++ b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
@@ -61,7 +61,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
// database gets upgraded properly. At a minimum, please confirm that 'upgradeVersion'
// is properly propagated through your change. Not doing so will result in a loss of user
// settings.
- private static final int DATABASE_VERSION = 64;
+ private static final int DATABASE_VERSION = 65;
private Context mContext;