mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
Make sure app relaunching works after upgrade
This commit is contained in:
parent
d76c266fbc
commit
59106e4f52
@ -45,6 +45,7 @@ private suspend fun DownloadService.upgrade(apk: File, id: Int) {
|
|||||||
patch(apk, id)
|
patch(apk, id)
|
||||||
} else {
|
} else {
|
||||||
// Simply relaunch the app
|
// Simply relaunch the app
|
||||||
|
stopSelf()
|
||||||
relaunchApp(this)
|
relaunchApp(this)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user