diff --git a/system_ext/private/gmscore_app.te b/system_ext/private/gmscore_app.te new file mode 100644 index 0000000..4dc1639 --- /dev/null +++ b/system_ext/private/gmscore_app.te @@ -0,0 +1,2 @@ +# Allow to read setupwizard_feature_prop +get_prop(gmscore_app, setupwizard_feature_prop) diff --git a/system_ext/private/priv_app.te b/system_ext/private/priv_app.te new file mode 100644 index 0000000..90bc371 --- /dev/null +++ b/system_ext/private/priv_app.te @@ -0,0 +1,2 @@ +# Allow to read setupwizard_feature_prop +get_prop(priv_app, setupwizard_feature_prop) diff --git a/system_ext/private/property_contexts b/system_ext/private/property_contexts index 56360e3..93a16ad 100644 --- a/system_ext/private/property_contexts +++ b/system_ext/private/property_contexts @@ -3,3 +3,6 @@ telephony.TnNtn.image_switch u:object_r:telephony_modem_prop:s0 exact enum nt telephony.ril.modem_bin_status u:object_r:telephony_modemtype_prop:s0 exact uint telephony.ril.silent_reset u:object_r:telephony_ril_prop:s0 exact bool telephony.ril.ntn_demo_mode u:object_r:telephony_ntn_demo_mode_prop:s0 exact bool + +# setupwizard +setupwizard.feature.provisioning_profile_mode u:object_r:setupwizard_feature_prop:s0 diff --git a/system_ext/public/property.te b/system_ext/public/property.te index e492369..f1b73f0 100644 --- a/system_ext/public/property.te +++ b/system_ext/public/property.te @@ -7,3 +7,6 @@ system_restricted_prop(telephony_ntn_demo_mode_prop) userdebug_or_eng(` set_prop(shell, telephony_ril_prop) ') + +# setupwizard +system_public_prop(setupwizard_feature_prop) diff --git a/vendor/vendor_init.te b/vendor/vendor_init.te index 4dcc237..b1c1536 100644 --- a/vendor/vendor_init.te +++ b/vendor/vendor_init.te @@ -6,3 +6,6 @@ allow vendor_init tee_data_file:lnk_file read; # MM allow vendor_init proc_compaction_proactiveness:file w_file_perms; allow vendor_init proc_percpu_pagelist_high_fraction:file w_file_perms; + +# setupwizard +set_prop(vendor_init, setupwizard_feature_prop)