diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-02-05 19:55:32 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-02-05 19:55:32 +0100 |
commit | cf499462c5d4c24a7708195c4bf461f4c2203293 (patch) | |
tree | 073482b888511a004f8f4f2195a828c191a20475 /OpenPGP-Keychain/src | |
parent | b1530c47582d01c12c930913f1e7908d87b4000d (diff) | |
download | open-keychain-cf499462c5d4c24a7708195c4bf461f4c2203293.tar.gz open-keychain-cf499462c5d4c24a7708195c4bf461f4c2203293.tar.bz2 open-keychain-cf499462c5d4c24a7708195c4bf461f4c2203293.zip |
Hotfix for database upgrade, version 2.3.1
Diffstat (limited to 'OpenPGP-Keychain/src')
-rw-r--r-- | OpenPGP-Keychain/src/main/AndroidManifest.xml | 4 | ||||
-rw-r--r-- | OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainDatabase.java | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/OpenPGP-Keychain/src/main/AndroidManifest.xml b/OpenPGP-Keychain/src/main/AndroidManifest.xml index e0732ea70..6de35571f 100644 --- a/OpenPGP-Keychain/src/main/AndroidManifest.xml +++ b/OpenPGP-Keychain/src/main/AndroidManifest.xml @@ -2,8 +2,8 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.sufficientlysecure.keychain" android:installLocation="auto" - android:versionCode="23000" - android:versionName="2.3"> + android:versionCode="23100" + android:versionName="2.3.1"> <!-- General remarks diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainDatabase.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainDatabase.java index 3a00f3101..212f77cd4 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainDatabase.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/KeychainDatabase.java @@ -123,14 +123,17 @@ public class KeychainDatabase extends SQLiteOpenHelper { break; case 4: db.execSQL(CREATE_API_APPS); + break; case 5: // new column: package_signature db.execSQL("DROP TABLE IF EXISTS " + Tables.API_APPS); db.execSQL(CREATE_API_APPS); + break; case 6: // new column: fingerprint db.execSQL("ALTER TABLE " + Tables.KEYS + " ADD COLUMN " + KeysColumns.FINGERPRINT + " BLOB;"); + break; default: break; |