Convert app updater to foreground service

This commit is contained in:
arkon
2020-05-06 22:34:30 -04:00
parent 08ba805bbd
commit 788ea052fc
3 changed files with 87 additions and 28 deletions

View File

@@ -187,7 +187,7 @@ class AboutController : SettingsController() {
if (appContext != null) {
// Start download
val url = args.getString(URL_KEY) ?: ""
UpdaterService.downloadUpdate(appContext, url)
UpdaterService.start(appContext, url)
}
}
.negativeButton(R.string.update_check_ignore)