Fix Emoji crashes when downloaded bitmap files cannot be found.

This commit is contained in:
Alex Hart
2021-05-07 13:56:14 -03:00
committed by GitHub
parent 276b757e2d
commit 1f3e131690
4 changed files with 59 additions and 15 deletions

View File

@@ -156,7 +156,7 @@ public class ApplicationContext extends MultiDexApplication implements AppForegr
.addNonBlocking(StorageSyncHelper::scheduleRoutineSync)
.addNonBlocking(() -> ApplicationDependencies.getJobManager().beginJobLoop())
.addNonBlocking(EmojiSource::refresh)
.addNonBlocking(DownloadLatestEmojiDataJob::scheduleIfNecessary)
.addNonBlocking(() -> DownloadLatestEmojiDataJob.scheduleIfNecessary(this))
.addPostRender(() -> RateLimitUtil.retryAllRateLimitedMessages(this))
.addPostRender(this::initializeExpiringMessageManager)
.execute();