chiark / gitweb /
update: improve warning about APKs set to be debuggable
authorHans-Christoph Steiner <hans@eds.org>
Tue, 3 Jun 2014 17:39:11 +0000 (13:39 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Thu, 5 Jun 2014 02:01:25 +0000 (22:01 -0400)
This uses the actual XML code used to set this flag making the warning
message easily searchable on the interwebs.

fdroidserver/update.py

index aca6b994f4e112fc6055d621f0153a4fa2509a00..8cd6b0e39f9b52c52207820890b11905098ae022 100644 (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()