switched last aapt call to use central config['aapt']

This commit is contained in:
Hans-Christoph Steiner 2014-12-08 22:53:25 +01:00
parent 0f71929e71
commit f7c9eccc1f
1 changed files with 1 additions and 2 deletions

View 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")