Support for direct share targets

Fixes #4333
// FREEBIE
This commit is contained in:
Moxie Marlinspike
2017-01-11 19:54:19 -08:00
parent bd819d7d10
commit a125fcb8fa
4 changed files with 110 additions and 11 deletions

View File

@@ -349,6 +349,11 @@ public class ThreadDatabase extends Database {
return cursor;
}
public Cursor getDirectShareList() {
SQLiteDatabase db = databaseHelper.getReadableDatabase();
return db.query(TABLE_NAME, null, null, null, null, null, DATE + " DESC");
}
public int getArchivedConversationListCount() {
SQLiteDatabase db = databaseHelper.getReadableDatabase();
Cursor cursor = null;