|
@@ -92,7 +92,7 @@ for apk in glob(GLOB_APK_STR):
|
|
|
# Run 'aapt d permissions' on APK
|
|
|
aapt_output = subprocess.check_output(AAPT_CMD + [apk],
|
|
|
stderr=subprocess.STDOUT).decode(encoding='UTF-8')
|
|
|
- lines = aapt_output.split('\n')
|
|
|
+ lines = aapt_output.splitlines()
|
|
|
# Extract package name from the output
|
|
|
# Output looks like:
|
|
|
# package: my.package.name
|