Skip to content
Snippets Groups Projects
Commit 75b82281 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Also consider .aar files as APK files for the sake of diffoscope. (Closes: Debian:#1099632)

parent a49c25d8
No related branches found
No related tags found
No related merge requests found
......@@ -238,7 +238,7 @@ class ApkFile(ZipFileBase):
DESCRIPTION = "Android APK files"
FILE_TYPE_HEADER_PREFIX = b"PK\x03\x04"
FILE_TYPE_RE = re.compile(r"^(Android package|(Java|Zip) archive data)\b")
FILE_EXTENSION_SUFFIX = {".apk"}
FILE_EXTENSION_SUFFIX = {".apk", ".aar"}
CONTAINER_CLASSES = [ApkContainer, ZipContainer]
@property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment