sepolicy: basic: non_plat: Allow mediacodec to read vendor_mtk_hdr_video_prop
Change-Id: I2d2f602a298f2967b798ac00ce73dac1ec84bb18
diff --git a/basic/non_plat/mediacodec.te b/basic/non_plat/mediacodec.te
index a43f6c9..fc0847e 100644
--- a/basic/non_plat/mediacodec.te
+++ b/basic/non_plat/mediacodec.te
@@ -149,3 +149,4 @@
get_prop(mediacodec, vendor_mtk_crossmount_prop)
get_prop(mediacodec, vendor_mtk_deinterlace_prop)
get_prop(mediacodec, vendor_mtk_omx_core_prop)
+get_prop(mediacodec, vendor_mtk_hdr_video_prop)
diff --git a/basic/non_plat/property.te b/basic/non_plat/property.te
index b274d2b..5382f77 100644
--- a/basic/non_plat/property.te
+++ b/basic/non_plat/property.te
@@ -127,6 +127,7 @@
vendor_restricted_prop(vendor_mtk_crossmount_prop)
vendor_restricted_prop(vendor_mtk_deinterlace_prop)
vendor_restricted_prop(vendor_mtk_omx_core_prop)
+vendor_restricted_prop(vendor_mtk_hdr_video_prop)
# Properties with can be read by all domains
typeattribute vendor_mtk_aal_ro_prop mtk_core_property_type;
@@ -208,3 +209,4 @@
typeattribute vendor_mtk_crossmount_prop mtk_core_property_type;
typeattribute vendor_mtk_deinterlace_prop mtk_core_property_type;
typeattribute vendor_mtk_omx_core_prop mtk_core_property_type;
+typeattribute vendor_mtk_hdr_video_prop mtk_core_property_type;
diff --git a/basic/non_plat/property_contexts b/basic/non_plat/property_contexts
index 4918de7..53a3b7b 100644
--- a/basic/non_plat/property_contexts
+++ b/basic/non_plat/property_contexts
@@ -403,3 +403,4 @@
mtk.vendor.omx.core.log u:object_r:vendor_mtk_omx_core_prop:s0
ro.mtk_crossmount_support u:object_r:vendor_mtk_crossmount_prop:s0
ro.mtk_deinterlace_support u:object_r:vendor_mtk_deinterlace_prop:s0
+ro.vendor.mtk_hdr_video_support u:object_r:vendor_mtk_hdr_video_prop:s0