Fix issue where megaphone display may be delayed.

fork-5.53.8
Greyson Parrelli 2021-01-08 11:31:35 -05:00
rodzic a3e3153ee3
commit 79d6ac100c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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();
});