2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-09 19:10:30 +00:00
This commit is contained in:
Christopher Roy Bratusek 2019-05-23 19:18:49 +02:00
parent 07d3e98dbe
commit b973c42433

View File

@ -786,7 +786,7 @@ dump_system_privapp_permissions () {
SYS_LIST="${TMPDIR}/privapp-permissions.list"
# XXX this looks shitty
"${AAPT}" dump xmltree /system/framework/framework-res.apk AndroidManifest.xml \
"${AAPT}" dump xmltree /system/framework/framework-res.apk AndroidManifest.xml | \
tr -d '\n' | sed -e 's/E:/\n/g' | grep '(type 0x11)0x12' | \
awk -F\" '{print $2}' | sort > "${SYS_LIST}"