make is_apk_and_debuggable() default to using androguard before aapt

This commit is contained in:
Hans-Christoph Steiner 2018-02-22 15:08:53 +01:00
parent 847bbb6e43
commit 52b3436ff6
4 changed files with 28 additions and 10 deletions

View file

@ -817,7 +817,7 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
src = os.path.normpath(apks[0])
# Make sure it's not debuggable...
if common.isApkAndDebuggable(src):
if common.is_apk_and_debuggable(src):
raise BuildException("APK is debuggable")
# By way of a sanity check, make sure the version and version