Fix issue where megaphone display may be delayed.

This commit is contained in:
Greyson Parrelli
2021-01-08 11:31:35 -05:00
parent a3e3153ee3
commit 79d6ac100c

View File

@@ -172,6 +172,7 @@ public class ApplicationContext extends MultiDexApplication implements DefaultLi
Log.i(TAG, "App is now visible.");
ApplicationDependencies.getFrameRateTracker().begin();
ApplicationDependencies.getMegaphoneRepository().onAppForegrounded();
SignalExecutors.BOUNDED.execute(() -> {
FeatureFlags.refreshIfNecessary();
@@ -180,7 +181,6 @@ public class ApplicationContext extends MultiDexApplication implements DefaultLi
GroupV1MigrationJob.enqueueRoutineMigrationsIfNecessary(this);
executePendingContactSync();
KeyCachingService.onAppForegrounded(this);
ApplicationDependencies.getMegaphoneRepository().onAppForegrounded();
ApplicationDependencies.getShakeToReport().enable();
checkBuildExpiration();
});