Skip to content

Commit

Permalink
Upgrade notification channels earlier.
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-signal committed Feb 12, 2021
1 parent 3f374ee commit 01418c0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -124,6 +124,7 @@ public void onCreate() {
Log.i(TAG, "onCreate()");
})
.addBlocking("crash-handling", this::initializeCrashHandling)
.addBlocking("notification-channels", () -> NotificationChannels.create(this))
.addBlocking("eat-db", () -> DatabaseFactory.getInstance(this))
.addBlocking("app-dependencies", this::initializeAppDependencies)
.addBlocking("first-launch", this::initializeFirstEverAppLaunch)
Expand Down Expand Up @@ -158,7 +159,6 @@ public void onCreate() {
.addNonBlocking(() -> ApplicationDependencies.getJobManager().beginJobLoop())
.addPostRender(this::initializeExpiringMessageManager)
.addPostRender(this::initializeBlobProvider)
.addPostRender(() -> NotificationChannels.create(this))
.execute();

Log.d(TAG, "onCreate() took " + (System.currentTimeMillis() - startTime) + " ms");
Expand Down

0 comments on commit 01418c0

Please sign in to comment.