Add support for sticky and hot-swappable feature flags.

This commit is contained in:
Greyson Parrelli
2020-01-24 15:29:03 -05:00
parent e7f568e162
commit 526adce603
4 changed files with 389 additions and 37 deletions

View File

@@ -150,6 +150,7 @@ public class ApplicationContext extends MultiDexApplication implements DefaultLi
public void onStart(@NonNull LifecycleOwner owner) {
isAppVisible = true;
Log.i(TAG, "App is now visible.");
FeatureFlags.refresh();
ApplicationDependencies.getRecipientCache().warmUp();
executePendingContactSync();
KeyCachingService.onAppForegrounded(this);