Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Fix WorkManager is not initialized properly
Browse files Browse the repository at this point in the history
  • Loading branch information
AnGgIt86 committed Sep 27, 2024
1 parent c7e8e67 commit 40e5855
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/kotlin/com/neko/v2ray/AngApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package com.neko.v2ray
import android.content.Context
import androidx.multidex.MultiDexApplication
import androidx.work.Configuration
import androidx.work.WorkManager
import com.tencent.mmkv.MMKV
import com.neko.v2ray.util.SettingsManager

Expand All @@ -23,6 +24,7 @@ class AngApplication : MultiDexApplication() {
override fun onCreate() {
super.onCreate()
MMKV.initialize(this)
WorkManager.initialize(this, workManagerConfiguration)
SettingsManager.initRoutingRulesets(this)
}
}

0 comments on commit 40e5855

Please sign in to comment.