mirror of
https://github.com/team-infusion-developers/android_device_samsung_msm8976-common.git
synced 2024-11-07 06:19:20 +00:00
Revert "Revert "msm8976-common: Binderize camera & graphics composer""
This reverts commit f10851da4f
.
Change-Id: Ia054b3433e8bd3652ad6557180e739a0ea5bd49c
This commit is contained in:
parent
9a5ff95ac6
commit
38786d49b8
5 changed files with 10 additions and 7 deletions
|
@ -104,7 +104,7 @@ TARGET_BOARD_INFO_FILE := $(VENDOR_PATH)/board-info.txt
|
|||
# Camera
|
||||
USE_DEVICE_SPECIFIC_CAMERA := true
|
||||
TARGET_PROCESS_SDK_VERSION_OVERRIDE := \
|
||||
/system/bin/cameraserver=24
|
||||
/system/vendor/bin/hw/android.hardware.camera.provider@2.4-service=24
|
||||
TARGET_USES_MEDIA_EXTENSIONS := true
|
||||
|
||||
# Charger
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.camera.provider</name>
|
||||
<transport arch="32+64">passthrough</transport>
|
||||
<transport>hwbinder</transport>
|
||||
<version>2.4</version>
|
||||
<interface>
|
||||
<name>ICameraProvider</name>
|
||||
|
@ -104,7 +104,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>
|
||||
|
|
|
@ -110,6 +110,7 @@ PRODUCT_PACKAGES += \
|
|||
# Camera
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.camera.provider@2.4-impl \
|
||||
android.hardware.camera.provider@2.4-service \
|
||||
camera.msm8952 \
|
||||
libshims_camera
|
||||
|
||||
|
@ -123,6 +124,7 @@ 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 \
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
allow cameraserver camera_data_file:dir w_dir_perms;
|
||||
|
||||
allow cameraserver sysfs_camera:dir search;
|
||||
allow cameraserver sysfs_camera:file rw_file_perms;
|
5
sepolicy/hal_camera_default.te
Normal file
5
sepolicy/hal_camera_default.te
Normal file
|
@ -0,0 +1,5 @@
|
|||
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