Fix typo in RemappedRecords.

This commit is contained in:
Greyson Parrelli 2020-07-29 09:23:48 -04:00
parent 8ed7fc894e
commit 0950235ccd

View file

@ -64,7 +64,7 @@ class RemappedRecords {
*/ */
void addThread(@NonNull Context context, long oldId, long newId) { void addThread(@NonNull Context context, long oldId, long newId) {
ensureInTransaction(context); ensureInTransaction(context);
ensureRecipientMapIsPopulated(context); ensureThreadMapIsPopulated(context);
threadMap.put(oldId, newId); threadMap.put(oldId, newId);
DatabaseFactory.getRemappedRecordsDatabase(context).addThreadMapping(oldId, newId); DatabaseFactory.getRemappedRecordsDatabase(context).addThreadMapping(oldId, newId);
} }