chiark / gitweb /
switched last aapt call to use central config['aapt']
authorHans-Christoph Steiner <hans@eds.org>
Mon, 8 Dec 2014 21:53:25 +0000 (22:53 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Sun, 14 Dec 2014 12:25:20 +0000 (13:25 +0100)
fdroidserver/common.py

index 5dc9b2b1ab7412115bb98384f85544dc0d253088..b16d0b6b859908c11950238fee006d97091a441a 100644 (file)
@@ -1597,8 +1597,7 @@ def isApkDebuggable(apkfile, config):
 
     :param apkfile: full path to the apk to check"""
 
-    p = SilentPopen([os.path.join(config['sdk_path'], 'build-tools',
-                                  config['build_tools'], 'aapt'),
+    p = SilentPopen([config['aapt'],
                      'dump', 'xmltree', apkfile, 'AndroidManifest.xml'])
     if p.returncode != 0:
         logging.critical("Failed to get apk manifest information")