Skip to content

Commit 5053daf

Browse files
Merge pull request #809 from session-foundation/release/1.20.7
Release 1.20.7
2 parents d81feb8 + 7d6946c commit 5053daf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ configurations.forEach {
1313
it.exclude module: "commons-logging"
1414
}
1515

16-
def canonicalVersionCode = 388
17-
def canonicalVersionName = "1.20.6"
16+
def canonicalVersionCode = 389
17+
def canonicalVersionName = "1.20.7"
1818

1919
def postFixSize = 10
2020
def abiPostFix = ['armeabi-v7a' : 1,
@@ -327,7 +327,7 @@ dependencies {
327327
implementation 'com.annimon:stream:1.1.8'
328328
implementation 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.3-S2'
329329
implementation 'androidx.sqlite:sqlite-ktx:2.3.1'
330-
implementation 'net.zetetic:sqlcipher-android:4.5.4@aar'
330+
implementation 'net.zetetic:sqlcipher-android:4.6.1@aar'
331331
implementation project(":libsignal")
332332
implementation project(":libsession")
333333
implementation project(":libsession-util")

app/src/main/java/org/thoughtcrime/securesms/database/helpers/SQLCipherOpenHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ private void executeStatements(SQLiteDatabase db, String[] statements) {
668668
}
669669

670670
private static boolean columnExists(@NonNull SQLiteDatabase db, @NonNull String table, @NonNull String column) {
671-
try (Cursor cursor = db.rawQuery("PRAGMA table_info(" + table + ")", null)) {
671+
try (Cursor cursor = db.rawQuery("PRAGMA table_xinfo(" + table + ")", null)) {
672672
int nameColumnIndex = cursor.getColumnIndexOrThrow("name");
673673

674674
while (cursor.moveToNext()) {

0 commit comments

Comments
 (0)