diff --git a/non_plat/property.te b/non_plat/property.te index cf40563..a15b854 100644 --- a/non_plat/property.te +++ b/non_plat/property.te @@ -253,3 +253,6 @@ type vendor_em_usb_prop, property_type, mtk_core_property_type; #=============allow em to set usb otg enable property ============== type vendor_usb_otg_switch, property_type, mtk_core_property_type; + +#=============mtk anr property============= +type mtk_anr_support_prop, property_type, mtk_core_property_type; diff --git a/non_plat/property_contexts b/non_plat/property_contexts index c2c0e7e..1fc2f0d 100644 --- a/non_plat/property_contexts +++ b/non_plat/property_contexts @@ -282,3 +282,7 @@ persist.vendor.usb.otg.switch u:object_r:vendor_usb_otg_switch:s0 #============mtk rsc========# ro.boot.rsc u:object_r:mtk_default_prop:s0 +#=============mtk anr property============= +persist.vendor.dbg.anrflow u:object_r:mtk_anr_support_prop:s0 +persist.vendor.anr. u:object_r:mtk_anr_support_prop:s0 +vendor.anr.autotest u:object_r:mtk_anr_support_prop:s0 diff --git a/non_plat/vendor_init.te b/non_plat/vendor_init.te index aa8eaf7..287fc12 100644 --- a/non_plat/vendor_init.te +++ b/non_plat/vendor_init.te @@ -30,6 +30,7 @@ set_prop(vendor_init, mtk_pq_ro_prop) set_prop(vendor_init, mtk_default_prop) set_prop(vendor_init, mtk_emmc_support_prop) +set_prop(vendor_init, mtk_anr_support_prop) # allow create symbolic link, /mnt/sdcard, for meta/factory mode allow vendor_init tmpfs:lnk_file create;