Allow omx hal access to vndbinder on all devices. am: d64561f716
am: ae9b925428
Change-Id: I6700efa4ebee1a4dd703f724400cc0add39d397c
diff --git a/public/mediacodec.te b/public/mediacodec.te
index 5c1ccbf..771701c 100644
--- a/public/mediacodec.te
+++ b/public/mediacodec.te
@@ -8,10 +8,9 @@
# 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)