From 3c5b96aa1ca019b23094675207c82d34b1e27042 Mon Sep 17 00:00:00 2001 From: mtk04179 Date: Sat, 18 Jan 2020 10:06:20 +0800 Subject: [PATCH] [ALPS03892544] CCT k65 P porting CCT k65 MTK-Commit-Id: 4e28dade7f7018a3556bf40ed1772110799762fd Change-Id: I1ae0989736e7f23e797936aff6a8beafab65bb9e CR-Id: ALPS03892544 Feature: Camera Calibration Tuning (CCT) Tool --- non_plat/mtk_hal_camera.te | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/non_plat/mtk_hal_camera.te b/non_plat/mtk_hal_camera.te index 94afa7f..2970550 100644 --- a/non_plat/mtk_hal_camera.te +++ b/non_plat/mtk_hal_camera.te @@ -263,14 +263,17 @@ allow mtk_hal_camera sysfs_batteryinfo:file { getattr open read }; # Purpose: Change thermal config allow mtk_hal_camera mtk_thermal_config_prop:property_service set; -# Date : WK17.48 -# Stage: O Migration +# Date : WK18.31 +# Stage: P Migration # Purpose: CCT allow mtk_hal_camera graphics_device:chr_file { read write ioctl open }; allow mtk_hal_camera graphics_device:dir search; allow mtk_hal_camera cct_data_file:dir create_dir_perms; allow mtk_hal_camera cct_data_file:file create_file_perms; allow mtk_hal_camera cct_data_file:fifo_file create_file_perms; +allow mtk_hal_camera sysfs_boot_mode:file { read open }; +allow mtk_hal_camera mnt_vendor_file:dir create_dir_perms; +allow mtk_hal_camera mnt_vendor_file:fifo_file create_file_perms; # Date : WK18.01 # Operation : label aee_aed sockets