Ignore prism.img in Lz4Handler

This commit is contained in:
Jakob Lell 2021-05-25 12:38:23 +02:00
parent f2746822b5
commit b32e842121
1 changed files with 2 additions and 0 deletions

View File

@ -1093,6 +1093,8 @@ class Lz4Handler(FileHandler):
return CheckFileResult.HANDLER_NO_MATCH # Handled by RecoveryImageHandler
if self.fn.lower() == b"super.img.lz4":
return CheckFileResult.ARCHIVE
if self.fn.lower().startswith(b"prism."):
return CheckFileResult.IGNORE
if self.fn.lower().startswith(b"persist."):
return CheckFileResult.IGNORE
if self.fn.lower().startswith(b"userdata."): # userdata partition contains stuff like dalvik cache etc.