Fix getSubDeviceSessions SQL query

This commit is contained in:
Andreas Straub 2015-07-09 14:15:59 +02:00
parent 2628662a7f
commit 03614a0262

View File

@ -594,7 +594,7 @@ public class DatabaseBackend extends SQLiteOpenHelper {
Cursor cursor = db.query(AxolotlService.SQLiteAxolotlStore.SESSION_TABLENAME,
columns,
AxolotlService.SQLiteAxolotlStore.ACCOUNT + " = ? AND "
+ AxolotlService.SQLiteAxolotlStore.NAME + " = ? AND ",
+ AxolotlService.SQLiteAxolotlStore.NAME + " = ?",
selectionArgs,
null, null, null);