Make DisplayRecord take context as argument, so locale is more likely to be correct.

This commit is contained in:
Alan Evans
2019-03-13 18:28:16 -03:00
committed by GitHub
parent de72eceecf
commit e0c11998c3
15 changed files with 46 additions and 50 deletions

View File

@@ -687,7 +687,7 @@ public class ThreadDatabase extends Database {
readReceiptCount = 0;
}
return new ThreadRecord(context, body, snippetUri, recipient, date, count,
return new ThreadRecord(body, snippetUri, recipient, date, count,
unreadCount, threadId, deliveryReceiptCount, status, type,
distributionType, archived, expiresIn, lastSeen, readReceiptCount);
}