diff --git a/public/mediacodec.te b/public/mediacodec.te
index c67078bf736d8834633aec95e37c04aa28a01f8e..e4801b628db8bc4f23a91f0dc681061273135631 100644
--- a/public/mediacodec.te
+++ b/public/mediacodec.te
@@ -20,6 +20,9 @@ binder_call(mediacodec, binderservicedomain)
 binder_call(mediacodec, appdomain)
 binder_service(mediacodec)
 
+# Allow mediacodec access to composer sync fences
+allow mediacodec hal_graphics_composer:fd use;
+
 # TODO(b/36604251): Remove this once OMX HAL stops using Binder
 typeattribute mediacodec binder_in_vendor_violators;
 add_service(mediacodec, mediacodec_service)