diff --git a/app/src/main/java/com/stevesoltys/seedvault/transport/restore/ApkRestore.kt b/app/src/main/java/com/stevesoltys/seedvault/transport/restore/ApkRestore.kt index f4199797..fe7a6421 100644 --- a/app/src/main/java/com/stevesoltys/seedvault/transport/restore/ApkRestore.kt +++ b/app/src/main/java/com/stevesoltys/seedvault/transport/restore/ApkRestore.kt @@ -137,7 +137,7 @@ internal class ApkRestore( if (isOlder || !installedPackageInfo.isSystemApp()) throw NameNotFoundException() } catch (e: NameNotFoundException) { Log.w(TAG, "Not installing $packageName because older or not a system app here.") - fail(installResult, packageName) + emit(fail(installResult, packageName)) return@flow } }