diff --git a/non_plat/property.te b/non_plat/property.te index fad95d8..3ac67c0 100644 --- a/non_plat/property.te +++ b/non_plat/property.te @@ -320,3 +320,6 @@ type mtk_wifi_hotspot_prop, property_type, mtk_core_property_type; #=============mtk hdmi property============= type mtk_hdmi_prop, property_type, mtk_core_property_type; + +#=============mtk nn option property============= +type mtk_nn_option_prop, property_type; diff --git a/non_plat/property_contexts b/non_plat/property_contexts index ee3f0cc..609ded7 100644 --- a/non_plat/property_contexts +++ b/non_plat/property_contexts @@ -348,3 +348,6 @@ ro.vendor.wifi.sap.interface u:object_r:mtk_wifi_hotspot_prop:s0 #=============allow mtk hdmi==============# persist.vendor.sys.hdmi_hidl. u:object_r:mtk_hdmi_prop:s0 + +#=============mtk nn option==============# +ro.vendor.mtk_nn.option u:object_r:mtk_nn_option_prop:s0 diff --git a/non_plat/vendor_init.te b/non_plat/vendor_init.te index f9b5517..5df8e27 100644 --- a/non_plat/vendor_init.te +++ b/non_plat/vendor_init.te @@ -32,6 +32,7 @@ set_prop(vendor_init, tel_switch_prop) set_prop(vendor_init, mtk_aal_ro_prop) set_prop(vendor_init, mtk_pq_ro_prop) set_prop(vendor_init, mtk_default_prop) +set_prop(vendor_init, mtk_nn_option_prop) set_prop(vendor_init, mtk_emmc_support_prop) set_prop(vendor_init, mtk_anr_support_prop)