Composer HAL: use binderized version

Bug: 71707530
Test: boot, lshal
Change-Id: Icf5f849e3ef102e6a8bc063634b779e3f9b5ac7b
(cherry picked from commit b9709b423dd7fe23e30a46de9253d87e0ad77733)
diff --git a/shared/config/manifest.xml b/shared/config/manifest.xml
index 3db4326..7a8ebfc 100644
--- a/shared/config/manifest.xml
+++ b/shared/config/manifest.xml
@@ -113,7 +113,7 @@
     </hal>
     <hal format="hidl">
         <name>android.hardware.graphics.composer</name>
-        <transport arch="32+64">passthrough</transport>
+        <transport>hwbinder</transport>
         <version>2.1</version>
         <interface>
             <name>IComposer</name>
diff --git a/shared/device.mk b/shared/device.mk
index 5c775bd..353f8ff 100644
--- a/shared/device.mk
+++ b/shared/device.mk
@@ -206,7 +206,8 @@
 PRODUCT_PACKAGES += \
     hwcomposer.vsoc \
     hwcomposer-stats \
-    android.hardware.graphics.composer@2.1-impl
+    android.hardware.graphics.composer@2.1-impl \
+    android.hardware.graphics.composer@2.1-service
 
 #
 # Gralloc HAL
diff --git a/shared/sepolicy/hal_graphics_composer.te b/shared/sepolicy/hal_graphics_composer.te
new file mode 100644
index 0000000..d98dbe8
--- /dev/null
+++ b/shared/sepolicy/hal_graphics_composer.te
@@ -0,0 +1,2 @@
+allow hal_graphics_composer_server hal_graphics_allocator_default_tmpfs:file read;
+allow hal_graphics_composer_server userspace_fb_file:file ioctl;