mirror of
https://github.com/team-infusion-developers/android_device_samsung_msm8976-common.git
synced 2024-11-07 06:19:20 +00:00
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:
parent
9b22aa359f
commit
f10851da4f
5 changed files with 7 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
4
sepolicy/cameraserver.te
Normal 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;
|
|
@ -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;
|
Loading…
Reference in a new issue