mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Merge "Enable and binderize hwcomposer hal"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3cc3faaef3
@@ -107,4 +107,3 @@ USES_DEVICE_GOOGLE_WAHOO := true
|
||||
# Graphics
|
||||
TARGET_USES_GRALLOC1 := true
|
||||
TARGET_USES_HWC2 := true
|
||||
TARGET_USES_HWC2ON1ADAPTER := true
|
||||
|
||||
@@ -216,11 +216,12 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
hwcomposer.msm8998 \
|
||||
android.hardware.graphics.composer@2.1-impl \
|
||||
android.hardware.graphics.composer@2.1-service \
|
||||
gralloc.msm8998 \
|
||||
android.hardware.graphics.allocator@2.0-impl \
|
||||
android.hardware.graphics.allocator@2.0-service \
|
||||
android.hardware.graphics.mapper@2.0-impl \
|
||||
android.hardware.graphics.composer@2.1-impl \
|
||||
libbt-vendor
|
||||
|
||||
# Light HAL
|
||||
|
||||
@@ -21,6 +21,12 @@
|
||||
<impl level="generic"></impl>
|
||||
<version>2.0</version>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.graphics.composer</name>
|
||||
<transport>hwbinder</transport>
|
||||
<impl level="generic"></impl>
|
||||
<version>2.1</version>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.graphics.mapper</name>
|
||||
<transport arch="32+64">passthrough</transport>
|
||||
|
||||
8
sepolicy/hal_graphics_composer_default.te
Normal file
8
sepolicy/hal_graphics_composer_default.te
Normal file
@@ -0,0 +1,8 @@
|
||||
# Binder access (for display.qservice)
|
||||
# TODO remove after the HAL is fixed
|
||||
binder_service(hal_graphics_composer_default)
|
||||
binder_use(hal_graphics_composer_default)
|
||||
allow hal_graphics_composer_default surfaceflinger_service:service_manager { add find };
|
||||
|
||||
# HWC_UeventThread
|
||||
allow hal_graphics_composer_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
|
||||
Reference in New Issue
Block a user