Merge "O is API 26" into oc-dev
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)