mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 14:27:37 +00:00
Fix update from notification will fail
This commit is contained in:
parent
7bd3e768db
commit
49dfa2c3a0
@ -24,6 +24,7 @@ class JobService : BaseJobService() {
|
||||
val coroutineScope = CoroutineScope(Dispatchers.IO + job)
|
||||
coroutineScope.launch {
|
||||
svc.fetchUpdate()?.run {
|
||||
Info.remote = this
|
||||
if (Info.env.isActive && BuildConfig.VERSION_CODE < magisk.versionCode)
|
||||
Notifications.managerUpdate(this@JobService)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user