mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 21:32:14 +00:00
Merge "Restore Camera to perfd communication" into oc-dr1-dev
am: 096c529776
Change-Id: Ic5933ee18a23c626fa7b039c34e0c0657493721a
This commit is contained in:
@@ -601,3 +601,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