Fix getSubDeviceSessions SQL query

This commit is contained in:
Andreas Straub 2015-07-09 14:15:59 +02:00
parent 34f90f2eb7
commit ce4b86e6d4
1 changed files with 1 additions and 1 deletions

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);