Avoid patching vendor_boot.img

This commit is contained in:
topjohnwu 2021-02-13 17:15:04 -08:00
parent 735af7843b
commit 8476eb9f4b
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ abstract class MagiskInstallImpl protected constructor(
}
while (tarIn.nextEntry?.let { entry = it } != null) {
if (entry.name.contains("boot.img") ||
if (entry.name.startsWith("boot.img") ||
(Config.recovery && entry.name.contains("recovery.img"))) {
val name = entry.name.replace(".lz4", "")
console.add("-- Extracting: $name")