Fix status reporting of failed system app restore
This commit is contained in:
parent
06c9642a22
commit
4b72cf87ec
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue