From aef35dde4d687b98146c449639a06f21228a0acc Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Wed, 20 Apr 2011 16:45:41 -0700 Subject: 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 --- .../src/com/android/providers/settings/DatabaseHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1