Revert "msm8976-common: Binderize camera & graphics composer"

* Since someone was funny enough to label display.qservice
  as 'service' instead of 'vndservice' in legacy qcom sepolicy
  I'm forced to move these back to passthrough ;-;

This reverts commit a8fd5e61e0.

Change-Id: I4fb729fce584450499b55cc7b8815e9768dac846
This commit is contained in:
LuK1337 2019-01-19 12:22:46 +01:00
parent 9b22aa359f
commit f10851da4f
5 changed files with 7 additions and 10 deletions

View File

@ -107,7 +107,7 @@ TARGET_BOARD_INFO_FILE := $(VENDOR_PATH)/board-info.txt
# Camera
USE_DEVICE_SPECIFIC_CAMERA := true
TARGET_PROCESS_SDK_VERSION_OVERRIDE := \
/system/vendor/bin/hw/android.hardware.camera.provider@2.4-service=24
/system/bin/cameraserver=24
TARGET_USES_MEDIA_EXTENSIONS := true
# Charger

View File

@ -37,7 +37,7 @@
</hal>
<hal format="hidl">
<name>android.hardware.camera.provider</name>
<transport>hwbinder</transport>
<transport arch="32+64">passthrough</transport>
<version>2.4</version>
<interface>
<name>ICameraProvider</name>
@ -104,7 +104,7 @@
</hal>
<hal format="hidl">
<name>android.hardware.graphics.composer</name>
<transport>hwbinder</transport>
<transport arch="32+64">passthrough</transport>
<version>2.1</version>
<interface>
<name>IComposer</name>

View File

@ -119,7 +119,6 @@ PRODUCT_PACKAGES += \
# Camera
PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.4-impl \
android.hardware.camera.provider@2.4-service \
camera.msm8952 \
libshims_camera
@ -133,7 +132,6 @@ PRODUCT_PACKAGES += \
android.hardware.graphics.allocator@2.0-impl \
android.hardware.graphics.allocator@2.0-service \
android.hardware.graphics.composer@2.1-impl \
android.hardware.graphics.composer@2.1-service \
android.hardware.graphics.mapper@2.0-impl \
android.hardware.memtrack@1.0-impl \
android.hardware.memtrack@1.0-service \

4
sepolicy/cameraserver.te Normal file
View File

@ -0,0 +1,4 @@
allow cameraserver camera_data_file:dir w_dir_perms;
allow cameraserver sysfs_camera:dir search;
allow cameraserver sysfs_camera:file rw_file_perms;

View File

@ -1,5 +0,0 @@
allow hal_camera_default camera_data_file:dir w_dir_perms;
allow hal_camera_default camera_data_file:sock_file write;
allow hal_camera_default sysfs_camera:dir search;
allow hal_camera_default sysfs_camera:file rw_file_perms;