sm8250-common: sepolicy: Fix build for S

Change-Id: Ic0c822ce146bee4d09a62306d4573f557acd186e
This commit is contained in:
dianlujitao 2022-02-17 18:28:04 +08:00 committed by SGCMarkus
parent 55053bf55c
commit 0fe53f415a
5 changed files with 6 additions and 7 deletions

View File

@ -207,6 +207,7 @@ ENABLE_VENDOR_RIL_SERVICE := true
# SELinux
include device/qcom/sepolicy_vndr/SEPolicy.mk
BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true
BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
PRODUCT_PRIVATE_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/private
PRODUCT_PUBLIC_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/public

View File

@ -0,0 +1,2 @@
# Radio
gsm.operator.iso-country u:object_r:telephony_status_prop:s0 exact string

View File

@ -4,9 +4,6 @@ allow hal_camera_default mnt_vendor_file:dir search;
# Allow hal_camera_default to call system_server
binder_call(hal_camera_default, system_server)
# Camera props
get_prop(hal_camera_default, exported_radio_prop)
# STM Prox Sensor
allow hal_camera_default vendor_sysfs_laser:file rw_file_perms;
allow hal_camera_default input_device:chr_file r_file_perms;

View File

@ -1,4 +1,4 @@
# Motorola
type vendor_mot_fingerprint_prop, property_type;
type vendor_mot_hw_prop, property_type;
type vendor_mot_touch_prop, property_type;
vendor_internal_prop(vendor_mot_fingerprint_prop);
vendor_internal_prop(vendor_mot_hw_prop);
vendor_internal_prop(vendor_mot_touch_prop);

View File

@ -3,7 +3,6 @@ camera.mot.is.coming.cts u:object_r:vendor_camera_prop:s0
# Radio
vendor.ril. u:object_r:vendor_radio_prop:s0
gsm.operator.iso-country u:object_r:exported_radio_prop:s0
# Motorola
ro.mot.build.customerid u:object_r:exported_default_prop:s0