mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
switched last aapt call to use central config['aapt']
This commit is contained in:
parent
0f71929e71
commit
f7c9eccc1f
1 changed files with 1 additions and 2 deletions
|
@ -1597,8 +1597,7 @@ def isApkDebuggable(apkfile, config):
|
||||||
|
|
||||||
:param apkfile: full path to the apk to check"""
|
:param apkfile: full path to the apk to check"""
|
||||||
|
|
||||||
p = SilentPopen([os.path.join(config['sdk_path'], 'build-tools',
|
p = SilentPopen([config['aapt'],
|
||||||
config['build_tools'], 'aapt'),
|
|
||||||
'dump', 'xmltree', apkfile, 'AndroidManifest.xml'])
|
'dump', 'xmltree', apkfile, 'AndroidManifest.xml'])
|
||||||
if p.returncode != 0:
|
if p.returncode != 0:
|
||||||
logging.critical("Failed to get apk manifest information")
|
logging.critical("Failed to get apk manifest information")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue