Revert "sepolicy: basic: non_plat: Allow mediacodec to read vendor_mtk_hdr_video_prop"
We did not have necessary rules for vendor_init to set this
but apparently this rule is completely unnecessary anyways.
Labelling this under the vendor_default_prop domain is enough.
This reverts commit 6f21f83c672af237827e0335cd566c1ce4810735.
Change-Id: Ic053bfed210562c173d14f2399c155cba0e9a4f2
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com>
diff --git a/basic/non_plat/mediacodec.te b/basic/non_plat/mediacodec.te
index 3e42574..8bc8453 100644
--- a/basic/non_plat/mediacodec.te
+++ b/basic/non_plat/mediacodec.te
@@ -149,7 +149,6 @@
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)
hal_client_domain(mediacodec, hal_mtkcodecservice)
diff --git a/basic/non_plat/property.te b/basic/non_plat/property.te
index 4ef471a..09e42d1 100644
--- a/basic/non_plat/property.te
+++ b/basic/non_plat/property.te
@@ -128,7 +128,6 @@
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;
@@ -211,4 +210,3 @@
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 bfb8ee8..4db69c1 100644
--- a/basic/non_plat/property_contexts
+++ b/basic/non_plat/property_contexts
@@ -406,4 +406,3 @@
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