mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 02:25:28 +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)
|
||||
} else {
|
||||
// Simply relaunch the app
|
||||
stopSelf()
|
||||
relaunchApp(this)
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user