From f5c02be5bfa5e615422fea37b099dbb269423a05 Mon Sep 17 00:00:00 2001 From: vvb2060 Date: Thu, 22 Jul 2021 16:20:36 +0800 Subject: [PATCH] Add new targetSdk domain https://android-review.googlesource.com/c/platform/system/sepolicy/+/1752122 --- native/jni/magiskpolicy/rules.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/native/jni/magiskpolicy/rules.cpp b/native/jni/magiskpolicy/rules.cpp index 421e3698f..234ccc8ff 100644 --- a/native/jni/magiskpolicy/rules.cpp +++ b/native/jni/magiskpolicy/rules.cpp @@ -77,9 +77,9 @@ void sepolicy::magisk_rules() { } // type transition require actual types, not attributes - const char *app_types[] { - "system_app", "priv_app", "platform_app", "untrusted_app", - "untrusted_app_25", "untrusted_app_27", "untrusted_app_29" }; + const char *app_types[]{ + "system_app", "priv_app", "platform_app", "untrusted_app", "untrusted_app_25", + "untrusted_app_27", "untrusted_app_29", "untrusted_app_30"}; clients.pop_back(); clients.insert(clients.end(), app_types, app_types + std::size(app_types)); for (auto type : clients) {