diff --git a/public/mediacodec.te b/public/mediacodec.te index 5c1ccbf5294bc2ddfc56fc387e8e45d18b2bdaeb..771701c6b99e7e545390358bdb63a0aa9c45f3e5 100644 --- a/public/mediacodec.te +++ b/public/mediacodec.te @@ -8,10 +8,9 @@ typeattribute mediacodec mlstrustedsubject; # and use macro hal_server_domain get_prop(mediacodec, hwservicemanager_prop) -full_treble_only(` - # on full-Treble devices, route all /dev/binder traffic to /dev/vndbinder - vndbinder_use(mediacodec) -') +# can route /dev/binder traffic to /dev/vndbinder +vndbinder_use(mediacodec) + not_full_treble(` # on legacy devices, continue to allow /dev/binder traffic binder_use(mediacodec)