Fix status reporting of failed system app restore
This commit is contained in:
parent
d7ca8151fd
commit
c5aca6dd51
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ internal class ApkRestore(
|
||||||
if (isOlder || !installedPackageInfo.isSystemApp()) throw NameNotFoundException()
|
if (isOlder || !installedPackageInfo.isSystemApp()) throw NameNotFoundException()
|
||||||
} catch (e: NameNotFoundException) {
|
} catch (e: NameNotFoundException) {
|
||||||
Log.w(TAG, "Not installing $packageName because older or not a system app here.")
|
Log.w(TAG, "Not installing $packageName because older or not a system app here.")
|
||||||
fail(installResult, packageName)
|
emit(fail(installResult, packageName))
|
||||||
return@flow
|
return@flow
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue