Yeet app update download progress notification on complete (#10071)
(cherry picked from commit 17b90d2491c63a43dba147e93d4e6d0ea54984fd)
This commit is contained in:
parent
927f6105bf
commit
2e2f5264e5
@ -127,6 +127,7 @@ class AppUpdateService : Service() {
|
||||
response.close()
|
||||
throw Exception("Unsuccessful response")
|
||||
}
|
||||
notifier.cancel()
|
||||
notifier.promptInstall(apkFile.getUriCompat(this))
|
||||
} catch (e: Exception) {
|
||||
val shouldCancel = e is CancellationException ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user