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, Cursor cursor = db.query(AxolotlService.SQLiteAxolotlStore.SESSION_TABLENAME,
columns, columns,
AxolotlService.SQLiteAxolotlStore.ACCOUNT + " = ? AND " AxolotlService.SQLiteAxolotlStore.ACCOUNT + " = ? AND "
+ AxolotlService.SQLiteAxolotlStore.NAME + " = ? AND ", + AxolotlService.SQLiteAxolotlStore.NAME + " = ?",
selectionArgs, selectionArgs,
null, null, null); null, null, null);