1
0
mirror of https://github.com/mihonapp/mihon.git synced 2025-08-19 13:01:31 +02:00

Yeet app update download progress notification on complete ()

This commit is contained in:
AntsyLich
2023-10-26 22:30:40 +06:00
committed by GitHub
parent 9ecec5d468
commit 17b90d2491

@@ -127,6 +127,7 @@ class AppUpdateService : Service() {
response.close() response.close()
throw Exception("Unsuccessful response") throw Exception("Unsuccessful response")
} }
notifier.cancel()
notifier.promptInstall(apkFile.getUriCompat(this)) notifier.promptInstall(apkFile.getUriCompat(this))
} catch (e: Exception) { } catch (e: Exception) {
val shouldCancel = e is CancellationException || val shouldCancel = e is CancellationException ||