Merge "Restore Camera to perfd communication" into oc-dr1-dev

This commit is contained in:
TreeHugger Robot
2017-07-17 19:21:30 +00:00
committed by Android (Google) Code Review
2 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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