Don't allow swiping away app update install notification

Based on 85ef40d0ff
This commit is contained in:
arkon 2022-08-13 15:15:14 -04:00
parent 431c04e54f
commit a89651810d
2 changed files with 2 additions and 1 deletions

View File

@ -116,6 +116,7 @@ internal class AppUpdateNotifier(private val context: Context) {
setOnlyAlertOnce(false)
setProgress(0, 0, false)
setContentIntent(installIntent)
setOngoing(true)
clearActions()
addAction(

View File

@ -775,7 +775,7 @@
<!--UpdateCheck Notifications-->
<string name="update_check_notification_download_in_progress">Downloading…</string>
<string name="update_check_notification_download_complete">Download complete</string>
<string name="update_check_notification_download_complete">Tap to install</string>
<string name="update_check_notification_download_error">Download error</string>
<string name="update_check_notification_update_available">New version available!</string>
<string name="update_check_fdroid_migration_info">A new version is available from the official releases. Tap to learn how to migrate from unofficial F-Droid releases.</string>