[ALPS04093626] EMCamera: save files to data/vendor

CAM hal cant access sdcard, change path to data/vendor, need add selinux support

MTK-Commit-Id: d220113a3d04aa9faeb5bdfc1000ed8cb0f5cade

Change-Id: I2eafe04eb6a8c6f8117c2c44449ce8d8952c49cb
CR-Id: ALPS04093626
Feature: Engineer Mode - Camera Feature
This commit is contained in:
Juan Rong 2020-01-18 10:07:06 +08:00 committed by Yuhui Zhang
parent f7d3d1bcd5
commit 2d5cfbe161

View File

@ -3,7 +3,7 @@
# #
# This is for common part # This is for common part
type vendor_app, domain; type vendor_app, domain, mlstrustedsubject;
app_domain(vendor_app) app_domain(vendor_app)
@ -66,3 +66,9 @@ allow vendor_app cameraserver_service:service_manager find;
# eng mode camera - save iamges files and log files on external storage # eng mode camera - save iamges files and log files on external storage
allow vendor_app media_rw_data_file:dir { create_dir_perms }; allow vendor_app media_rw_data_file:dir { create_dir_perms };
allow vendor_app media_rw_data_file:file { create_file_perms }; allow vendor_app media_rw_data_file:file { create_file_perms };
# Date : WK18.32
# Purpose :
# eng mode camera - save iamges files and log files on external storage
allow vendor_app vendor_data_file:dir { create_dir_perms };
allow vendor_app vendor_data_file:file { create_file_perms };