mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Merge "Restore Camera to perfd communication" into oc-dr1-dev am: 096c529776
am: 9e73e499ed
Change-Id: Id1a6b402b6a3fcfeb3b3544fe2ee88c36d6f05a1
This commit is contained in:
@@ -597,3 +597,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
# to avoid freeze
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.radio.DROPSETENABLE=0
|
||||
|
||||
# Enable CameraHAL perfd usage
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.camera.perfd.enable=true
|
||||
|
||||
5
sepolicy/vendor/hal_camera.te
vendored
5
sepolicy/vendor/hal_camera.te
vendored
@@ -1,3 +1,8 @@
|
||||
# communicate with perfd
|
||||
allow hal_camera perfd:unix_stream_socket connectto;
|
||||
allow hal_camera perfd_socket:sock_file write;
|
||||
allow hal_camera perfd_socket:sock_file w_file_perms;
|
||||
|
||||
allow hal_camera self:capability sys_nice;
|
||||
|
||||
# communicate with camera
|
||||
|
||||
Reference in New Issue
Block a user