Sync whether or not our primary device can send SMS.

This commit is contained in:
Greyson Parrelli
2021-05-12 14:58:19 -04:00
committed by GitHub
parent f2d5ea0391
commit 80c911e118
11 changed files with 143 additions and 21 deletions

View File

@@ -159,6 +159,7 @@ public class ApplicationContext extends MultiDexApplication implements AppForegr
.addNonBlocking(() -> DownloadLatestEmojiDataJob.scheduleIfNecessary(this))
.addPostRender(() -> RateLimitUtil.retryAllRateLimitedMessages(this))
.addPostRender(this::initializeExpiringMessageManager)
.addPostRender(() -> SignalStore.settings().setDefaultSms(Util.isDefaultSmsProvider(this)))
.execute();
Log.d(TAG, "onCreate() took " + (System.currentTimeMillis() - startTime) + " ms");