From 72876fd61fd3651049dbf9dec7c803fcd0f0d61f Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Thu, 24 Sep 2020 15:22:14 +0200 Subject: [PATCH] CommonInstaller: fix privapp-permissions for Android 11 --- CommonInstaller | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommonInstaller b/CommonInstaller index 59065d4..495c61e 100644 --- a/CommonInstaller +++ b/CommonInstaller @@ -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 | \