Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit b4ce8adb authored by Rafael Tonholo's avatar Rafael Tonholo Committed by GitHub
Browse files

Merge pull request #9604 from asoucar/fix-db-migration-log

Fix migration log before logger init
parents 016da71f 339281d0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -51,16 +51,16 @@ abstract class BaseApplication : Application(), WorkManagerConfiguration.Provide
    override fun attachBaseContext(base: Context?) {
        Core.earlyInit()

        super.attachBaseContext(base)

        // Start Koin early so it is ready by the time content providers are initialized.
        DI.start(this, listOf(provideAppModule()))
        Log.logger = logger

        super.attachBaseContext(base)
    }

    override fun onCreate() {
        super.onCreate()

        Log.logger = logger
        K9.init(this)
        Core.init(this)
        initializeAppLanguage()