[ALPS04027708] Enable ANR systemproperty

[Detail]
Enable ANR systemproperty
persist.vendor.dbg.anrflow
persist.vendor.anr.
vendor.anr.autotest

MTK-Commit-Id: eb6a6e8f3803b41347567178f7649ef5c9d2f80e

Change-Id: Ibb530a1d9f5ceca67e39fe2c6980e6807e457b86
CR-Id: ALPS04027708
Feature: ANR Debugging Mechanism Enhancements
This commit is contained in:
yu.chen 2020-01-18 10:05:22 +08:00
parent 602af5863d
commit 9611223a28
3 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -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

View File

@ -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;