diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 933ca60..e4da630 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -170,6 +170,7 @@ VENDOR_SECURITY_PATCH := 2022-06-05 # Sepolicy include device/qcom/sepolicy_vndr/SEPolicy.mk +SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/private BOARD_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor # Verified Boot diff --git a/sepolicy/private/property_contexts b/sepolicy/private/property_contexts new file mode 100644 index 0000000..c847b7e --- /dev/null +++ b/sepolicy/private/property_contexts @@ -0,0 +1,2 @@ +# WiFi Display +persist.vendor.setWFDInfo. u:object_r:vendor_wfd_sys_debug_prop:s0 diff --git a/sepolicy/private/system_server.te b/sepolicy/private/system_server.te new file mode 100644 index 0000000..0071ee2 --- /dev/null +++ b/sepolicy/private/system_server.te @@ -0,0 +1 @@ +get_prop(system_server, vendor_wfd_sys_debug_prop) diff --git a/sepolicy/private/vendor_wfd_app.te b/sepolicy/private/vendor_wfd_app.te new file mode 100644 index 0000000..4e78cfb --- /dev/null +++ b/sepolicy/private/vendor_wfd_app.te @@ -0,0 +1 @@ +get_prop(vendor_wfd_app, vendor_wfd_sys_debug_prop)