kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix issue where megaphone display may be delayed.
rodzic
a3e3153ee3
commit
79d6ac100c
|
@ -172,6 +172,7 @@ public class ApplicationContext extends MultiDexApplication implements DefaultLi
|
||||||
Log.i(TAG, "App is now visible.");
|
Log.i(TAG, "App is now visible.");
|
||||||
|
|
||||||
ApplicationDependencies.getFrameRateTracker().begin();
|
ApplicationDependencies.getFrameRateTracker().begin();
|
||||||
|
ApplicationDependencies.getMegaphoneRepository().onAppForegrounded();
|
||||||
|
|
||||||
SignalExecutors.BOUNDED.execute(() -> {
|
SignalExecutors.BOUNDED.execute(() -> {
|
||||||
FeatureFlags.refreshIfNecessary();
|
FeatureFlags.refreshIfNecessary();
|
||||||
|
@ -180,7 +181,6 @@ public class ApplicationContext extends MultiDexApplication implements DefaultLi
|
||||||
GroupV1MigrationJob.enqueueRoutineMigrationsIfNecessary(this);
|
GroupV1MigrationJob.enqueueRoutineMigrationsIfNecessary(this);
|
||||||
executePendingContactSync();
|
executePendingContactSync();
|
||||||
KeyCachingService.onAppForegrounded(this);
|
KeyCachingService.onAppForegrounded(this);
|
||||||
ApplicationDependencies.getMegaphoneRepository().onAppForegrounded();
|
|
||||||
ApplicationDependencies.getShakeToReport().enable();
|
ApplicationDependencies.getShakeToReport().enable();
|
||||||
checkBuildExpiration();
|
checkBuildExpiration();
|
||||||
});
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue