mediacodec violates "no Binder in vendor" rule

This adds mediacodec to the list of temporary exemptions from the "no
Binder in vendor" rule.

Test: mmm system/sepolicy
Bug: 35870313
Change-Id: I0f00d4bfb90d6da45ae2fed65864bb8fb0a4e78e
This commit is contained in:
Alex Klyubin 2017-03-24 17:22:17 -07:00
parent 5e6a4dd332
commit 44df5b9432
2 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,8 @@ binder_call(mediacodec, binderservicedomain)
binder_call(mediacodec, appdomain)
binder_service(mediacodec)
# TODO(b/36604251): Remove this once OMX HAL stops using Binder
typeattribute mediacodec binder_in_vendor_violators;
add_service(mediacodec, mediacodec_service)
allow mediacodec mediametrics_service:service_manager find;
allow mediacodec surfaceflinger_service:service_manager find;

2
vendor/hal_omx.te vendored
View File

@ -1,3 +1 @@
typeattribute mediacodec coredomain;
init_daemon_domain(mediacodec)