mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-23 20:11:29 +00:00
Removed comment following PR feedback
This commit is contained in:
parent
9cf30dd67e
commit
4bef09a3c1
@ -299,8 +299,7 @@ public class MmsSmsDatabase extends Database {
|
|||||||
String order = MmsSmsColumns.NORMALIZED_DATE_SENT + " DESC";
|
String order = MmsSmsColumns.NORMALIZED_DATE_SENT + " DESC";
|
||||||
String selection = MmsSmsColumns.THREAD_ID + " = " + threadId;
|
String selection = MmsSmsColumns.THREAD_ID + " = " + threadId;
|
||||||
|
|
||||||
// Try everything with resources so that they auto-close on end of scope.
|
// Try everything with resources so that they auto-close on end of scope
|
||||||
// Note: Do NOT call cursor.moveToFirst() once we have it, for reasons unknown to me it breaks the functionality. -AL
|
|
||||||
try (Cursor cursor = queryTables(PROJECTION, selection, order, null)) {
|
try (Cursor cursor = queryTables(PROJECTION, selection, order, null)) {
|
||||||
try (MmsSmsDatabase.Reader reader = readerFor(cursor)) {
|
try (MmsSmsDatabase.Reader reader = readerFor(cursor)) {
|
||||||
MessageRecord messageRecord;
|
MessageRecord messageRecord;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user