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

你可能感兴趣的:(Android)