1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

update: improve warning about APKs set to be debuggable

This uses the actual XML code used to set this flag making the warning
message easily searchable on the interwebs.
This commit is contained in:
Hans-Christoph Steiner 2014-06-03 13:39:11 -04:00
parent d68830418b
commit c81ff764a3

View File

@ -452,7 +452,7 @@ def scan_apks(apps, apkcache, repodir, knownapks):
# Check for debuggable apks...
if common.isApkDebuggable(apkfile, config):
logging.warn("{0} is debuggable... {1}".format(apkfile, line))
logging.warn('{0} is set to android:debuggable="true"!'.format(apkfile))
# Calculate the sha256...
sha = hashlib.sha256()