android_system_sepolicy/prebuilts/api/29.0
Pierre-Hugues Husson 1019870fba Mark mediacodec_2{6,7,8} as hal_omx_server
The commit 7baf725ea6 broke OMX on O/O-MR1(/P?) vendors.
Previous to this commit, all OMX codecs had to use "mediacodec" type,
after this commit, omx codecs just had to get hal_omx_server attribute.
This commit left to the vendor the charge of adding "hal_omx_server"
attribute to mediacodec.

However this can't work on non-Q vendors.

On P vendor, versioned_plat_pub contains the appdomain <=> mediacodec
allows, so OMX isn't technically broken on those devices.
But to ensure it won't break in the future, mark 28's mediacodec as
hal_omx_server as well

This fixes broken OMX decoding on O/O-MR1 vendors, failing with the
following denial:
avc: denied { call } for comm=4E444B204D65646961436F6465635F scontext=u:r:platform_app:s0:c512,c768 tcontext=u:r:mediacodec:s0 tclass=binder permissive=0

Bug: 141186440

Change-Id: I018f8d9aabc77e7ea86ca14734b1ab2edfdf8ed1
2019-10-01 20:48:01 +00:00
..
private Mark mediacodec_2{6,7,8} as hal_omx_server 2019-10-01 20:48:01 +00:00
public Export vold FDE algorithm properties 2019-09-25 16:29:54 +00:00
plat_pub_versioned.cil Reland "Add 29.0 mapping files" 2019-06-01 17:20:34 -07:00
vendor_sepolicy.cil Reland "Add 29.0 mapping files" 2019-06-01 17:20:34 -07:00