platform_system_sepolicy/prebuilts/api
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
..
26.0 Finer grained permissions for ctl. properties 2018-05-22 13:47:16 -07:00
27.0 Add prebuilts/api/27.0/nonplat_sepolicy.cil. 2018-01-31 16:26:16 -08:00
28.0 DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master 2019-05-14 12:16:13 -07:00
29.0 Mark mediacodec_2{6,7,8} as hal_omx_server 2019-10-01 20:48:01 +00:00