failed to set system property

diff --git a/device/sprd/sharkle/common/sepolicy/property.te b/device/sprd/sharkle/common/sepolicy/property.te
index b107c65..18eeec9 100755
--- a/device/sprd/sharkle/common/sepolicy/property.te
+++ b/device/sprd/sharkle/common/sepolicy/property.te
@@ -19,3 +19,6 @@ type vendor_eng_prop, property_type;
 type vendor_aprd_prop, property_type;
 type vendor_faceid_prop, property_type;
 type vendor_powerhint_prop, property_type;
+# meig:jicong.wang add for cit
+type vendor_cit_prop, property_type;
+type vendor_audio_cit_prop, property_type;
diff --git a/device/sprd/sharkle/common/sepolicy/property_contexts b/device/sprd/sharkle/common/sepolicy/property_contexts
index d5d5998..ae1be6c 100755
--- a/device/sprd/sharkle/common/sepolicy/property_contexts
+++ b/device/sprd/sharkle/common/sepolicy/property_contexts
@@ -94,3 +94,8 @@ persist.vendor.eng.   u:object_r:vendor_eng_prop:s0
 
 # For powerhint
  ro.vendor.powerhint.enable u:object_r:vendor_powerhint_prop:s0
+
+# meig:jicong.wang add for cit
+persist.sys.cit.    u:object_r:vendor_cit_prop:s0
+persist.vendor.audio.cit. u:object_r:vendor_audio_cit_prop:s0
+
diff --git a/device/sprd/sharkle/common/sepolicy/system_app.te b/device/sprd/sharkle/common/sepolicy/system_app.te
old mode 100644
new mode 100755
index f4e1598..808ae0c
--- a/device/sprd/sharkle/common/sepolicy/system_app.te
+++ b/device/sprd/sharkle/common/sepolicy/system_app.te
@@ -119,4 +119,10 @@ get_prop(system_app, vendor_gpu_prop);
 #add for HWUI
 get_prop(system_app, vendor_hwui_prop);
 
+# meig:jicong.wang add for cit
+get_prop(system_app, vendor_cit_prop)
+set_prop(system_app, vendor_cit_prop)
+get_prop(system_app, vendor_audio_cit_prop)
+set_prop(system_app, vendor_audio_cit_prop)
+
 allow system_app media_prop:file { read };
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值