Merge "Restore Camera to perfd communication" into oc-dr1-dev am: 096c529776

am: 9e73e499ed

Change-Id: Id1a6b402b6a3fcfeb3b3544fe2ee88c36d6f05a1
This commit is contained in:
Wei Wang
2017-07-17 19:29:31 +00:00
committed by android-build-merger
2 changed files with 9 additions and 0 deletions

View File

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

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