Commits
Richard Liu committed 3e9eb0f6328
MA-12502-1 fix camera not work due to opencl permission Camera not work with opencl source code due to permission, change /data/.opencl-cache to camera group and add necessary selinux permission for camera hal. Fail log: opencl-2d: Error in build kernel: opencl-2d: error : Failed to open the temporary file /data/.opencl-cache/cl-0CF701. for writing opencl-2d: failed for CreateProgramFromBinary /vendor/etc/cl_g2d.cl Selinux log: avc: denied { write } for name=".opencl-cache" dev="mmcblk1p12" ino=28 scontext=u:r:hal_camer a_default:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0 Change-Id: I84992bc94ff5daa744fff5a0850ab0adf5e42ec0 Signed-off-by: Richard Liu <xuegang.liu@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/5722 Reviewed-by: guoyin.chen <guoyin.chen@nxp.com>