From a54d493853e680c3600a688474923b21378e369f Mon Sep 17 00:00:00 2001 From: Oleg Matcovschi Date: Tue, 21 Nov 2017 13:44:58 -0800 Subject: [PATCH] wahoo: Change ramdump property names Avoid using vendor names in properties. Change-Id: I1d0bc294584daa6910fc778ada05631440d3e707 --- init.hardware.diag.rc.userdebug | 2 +- sepolicy/vendor/property_contexts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/init.hardware.diag.rc.userdebug b/init.hardware.diag.rc.userdebug index 0041b981..c55f0ed0 100644 --- a/init.hardware.diag.rc.userdebug +++ b/init.hardware.diag.rc.userdebug @@ -382,7 +382,7 @@ service vendor.cnss_diag_txt /vendor/bin/cnss_diag -s -f -m /data/vendor/wifi/cn disabled oneshot -on property:debug.htc.ramdump.crash=true +on property:debug.ramdump.force_crash=true write /proc/sysrq-trigger "c" on property:sys.logger.bluetooth=true diff --git a/sepolicy/vendor/property_contexts b/sepolicy/vendor/property_contexts index 5c559a0d..d698bf31 100644 --- a/sepolicy/vendor/property_contexts +++ b/sepolicy/vendor/property_contexts @@ -10,8 +10,7 @@ persist.net.doxlat u:object_r:net_radio_prop:s0 sys.post_boot. u:object_r:post_boot_prop:s0 radio. u:object_r:radio_prop:s0 rcs.publish.status u:object_r:radio_prop:s0 -debug.htc.hrdump u:object_r:ramdump_prop:s0 -debug.htc.ramdump u:object_r:ramdump_prop:s0 +debug.ramdump. u:object_r:ramdump_prop:s0 persist.sys.crash_rcu u:object_r:ramdump_prop:s0 debug.ssrdump u:object_r:ssr_prop:s0 persist.sys.cnss. u:object_r:cnss_diag_prop:s0