Yeet app update download progress notification on complete (#10071)
This commit is contained in:
parent
9ecec5d468
commit
17b90d2491
1 changed files with 1 additions and 0 deletions
|
@ -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 ||
|
||||||
|
|
Reference in a new issue