mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
Potentially fix crash
This commit is contained in:
parent
0c0c740bc8
commit
3d44816e4a
@ -170,20 +170,10 @@ public class ApplicationContext extends MultiDexApplication implements Dependenc
|
|||||||
initializeLogging();
|
initializeLogging();
|
||||||
initializeCrashHandling();
|
initializeCrashHandling();
|
||||||
initializeDependencyInjection();
|
initializeDependencyInjection();
|
||||||
initializeJobManager();
|
|
||||||
initializeMessageRetrieval();
|
|
||||||
initializeExpiringMessageManager();
|
|
||||||
initializeTypingStatusRepository();
|
|
||||||
initializeTypingStatusSender();
|
|
||||||
initializeSignedPreKeyCheck();
|
|
||||||
initializePeriodicTasks();
|
|
||||||
initializeWebRtc();
|
|
||||||
initializePendingMessages();
|
|
||||||
initializeUnidentifiedDeliveryAbilityRefresh();
|
|
||||||
initializeBlobProvider();
|
|
||||||
NotificationChannels.create(this);
|
NotificationChannels.create(this);
|
||||||
ProcessLifecycleOwner.get().getLifecycle().addObserver(this);
|
ProcessLifecycleOwner.get().getLifecycle().addObserver(this);
|
||||||
// Loki
|
// Loki
|
||||||
|
// ========
|
||||||
broadcaster = new Broadcaster(this);
|
broadcaster = new Broadcaster(this);
|
||||||
LokiAPIDatabase apiDB = DatabaseFactory.getLokiAPIDatabase(this);
|
LokiAPIDatabase apiDB = DatabaseFactory.getLokiAPIDatabase(this);
|
||||||
LokiThreadDatabase threadDB = DatabaseFactory.getLokiThreadDatabase(this);
|
LokiThreadDatabase threadDB = DatabaseFactory.getLokiThreadDatabase(this);
|
||||||
@ -210,6 +200,18 @@ public class ApplicationContext extends MultiDexApplication implements Dependenc
|
|||||||
lokiPublicChatManager = new LokiPublicChatManager(this);
|
lokiPublicChatManager = new LokiPublicChatManager(this);
|
||||||
updateOpenGroupProfilePicturesIfNeeded();
|
updateOpenGroupProfilePicturesIfNeeded();
|
||||||
registerForFCMIfNeeded(false);
|
registerForFCMIfNeeded(false);
|
||||||
|
// ========
|
||||||
|
initializeJobManager();
|
||||||
|
initializeMessageRetrieval();
|
||||||
|
initializeExpiringMessageManager();
|
||||||
|
initializeTypingStatusRepository();
|
||||||
|
initializeTypingStatusSender();
|
||||||
|
initializeSignedPreKeyCheck();
|
||||||
|
initializePeriodicTasks();
|
||||||
|
initializeWebRtc();
|
||||||
|
initializePendingMessages();
|
||||||
|
initializeUnidentifiedDeliveryAbilityRefresh();
|
||||||
|
initializeBlobProvider();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user