device_xiaomi_sm6150-common/sepolicy/vendor/hal_sensors_default.te
Arian 264db02b15
davinci: sepolicy: Allow sensors HAL to set persist sensors properties
Change-Id: Ie1ed422961f922f1239f10eb2e752106cf3f7778
2020-10-10 21:43:31 +02:00

8 lines
285 B
Plaintext

type persist_sensors_prop, property_type;
allow hal_sensors_default hal_audio_default:unix_stream_socket connectto;
allow hal_sensors_default audio_socket:sock_file rw_file_perms;
get_prop(hal_sensors_default, persist_sensors_prop)
get_prop(hal_sensors_default, vendor_adsprpc_prop)