sepolicy: 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 5995cb1..ba1cbbc 100644
--- a/basic/non_plat/mediacodec.te
+++ b/basic/non_plat/mediacodec.te
@@ -148,3 +148,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 06da2d4..9419467 100644
--- a/basic/non_plat/property.te
+++ b/basic/non_plat/property.te
@@ -126,6 +126,7 @@
vendor_restricted_prop(vendor_mtk_deinterlace_prop)
vendor_restricted_prop(vendor_mtk_omx_core_prop)
vendor_restricted_prop(vendor_sf_latch_unsignaled_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;
@@ -207,3 +208,4 @@
typeattribute vendor_mtk_deinterlace_prop mtk_core_property_type;
typeattribute vendor_mtk_omx_core_prop mtk_core_property_type;
typeattribute vendor_sf_latch_unsignaled_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 fecfe2d..904c6dc 100644
--- a/basic/non_plat/property_contexts
+++ b/basic/non_plat/property_contexts
@@ -387,4 +387,5 @@
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
vendor.debug.sf.latch_unsignaled u:object_r:vendor_sf_latch_unsignaled_prop:s0