2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

CommonInstaller: fix privapp-permissions for Android 11

This commit is contained in:
Christopher Roy Bratusek 2020-09-24 15:22:14 +02:00
parent ceb8194bf2
commit 72876fd61f

View File

@ -987,7 +987,7 @@ dump_system_privapp_permissions () {
# XXX this looks shitty
"${AAPT}" dump xmltree /system/framework/framework-res.apk AndroidManifest.xml | \
tr -d '\n' | sed -e 's/E:/\n/g' | \
grep '(type 0x11)0x[137]2' | \
grep '(type 0x11)0x[1357]2' | \
awk -F\" '{print $2}' | sort > "${SYS_LIST}"
"${AAPT}" dump xmltree /system/framework/framework-res.apk AndroidManifest.xml | \