davinci: sepolicy: Update mi_thermald property label

Change-Id: Ib0944a93ab4a43c8386de989894b3f6ee38d8088
This commit is contained in:
Arian 2020-10-25 23:53:50 +01:00
parent 770e1d1dd3
commit 4c5bfa0185
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9
2 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
type mi_thermald, domain;
type mi_thermald_exec, exec_type, vendor_file_type, file_type;
type thermal_normal_prop, property_type;
type vendor_thermal_normal_prop, property_type;
type thermal_data_file, data_file_type, file_type;
init_daemon_domain(mi_thermald)
set_prop(mi_thermald, thermal_normal_prop)
set_prop(mi_thermald, vendor_thermal_normal_prop)
allow mi_thermald thermal_data_file:dir rw_dir_perms;
allow mi_thermald thermal_data_file:file create_file_perms;

View File

@ -25,4 +25,4 @@ persist.sensor. u:object_r:persist_sensors_prop:s0
ro.vendor.touchfeature.type u:object_r:vendor_touchfeature_prop:s0
# Xiaomi thermal daemon
sys.thermal. u:object_r:thermal_normal_prop:s0
vendor.sys.thermal. u:object_r:vendor_thermal_normal_prop:s0