mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 02:50:12 +01:00
update: switch to improved androguard detection
This commit is contained in:
parent
f420a037d5
commit
88e24dc4e3
@ -1049,11 +1049,9 @@ def scan_apk(apk_file):
|
||||
'antiFeatures': set(),
|
||||
}
|
||||
|
||||
try:
|
||||
import androguard
|
||||
androguard # silence pyflakes
|
||||
if common.use_androguard():
|
||||
scan_apk_androguard(apk, apk_file)
|
||||
except ImportError:
|
||||
else:
|
||||
scan_apk_aapt(apk, apk_file)
|
||||
|
||||
# Get the signature, or rather the signing key fingerprints
|
||||
|
Loading…
Reference in New Issue
Block a user