From 4a2a37c87aa13e96f1a7864cc7bbb116cdc73c85 Mon Sep 17 00:00:00 2001 From: Wang Han <1701210638@pku.edu.cn> Date: Tue, 2 Jul 2024 21:34:11 +0800 Subject: [PATCH] Catch PendingIntent.CanceledException caused by send() Accidentally changed in 050a073. --- .../java/com/topjohnwu/magisk/core/download/DownloadEngine.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/core/download/DownloadEngine.kt b/app/src/main/java/com/topjohnwu/magisk/core/download/DownloadEngine.kt index c6650df16..dd8cd6907 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/download/DownloadEngine.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/download/DownloadEngine.kt @@ -173,7 +173,7 @@ class DownloadEngine( } else { notifyFinish(subject) } - } catch (e: IOException) { + } catch (e: Exception) { Timber.e(e) notifyFail(subject) }