[ALPS04360439] [EM]sensor move to vendor partition

Move sensor to vendor partition.It needs vendor_app has permission
to read/write sesor related files.

MTK-Commit-Id: 6f30fb87973b05cff81ec3851192125b4eada182

Change-Id: I95fe0601e155319108bfe68b47441b76cbb0b817
CR-Id: ALPS04360439
Feature: Engineering Mode
This commit is contained in:
Juan Rong 2020-01-18 10:08:58 +08:00
parent d6a6196eae
commit 336145916b
2 changed files with 7 additions and 7 deletions

View File

@ -17,13 +17,6 @@ allow radio surfaceflinger:fifo_file { rw_file_perms };
allow radio debugfs_usb20_phy:file { read open getattr };
allow radio debugfs_usb20_phy:dir search;
# Date : 2016/06/28
# Operation : IT
# Purpose : for engineermode sensor can work normal
allow radio als_ps_device:chr_file { read open ioctl };
allow radio gsensor_device:chr_file { read open ioctl };
allow radio gyroscope_device:chr_file { read ioctl open };
# Date : WK14.38 2016/06/28
# Operation : Migration
# Purpose : for engineermode

View File

@ -72,3 +72,10 @@ allow vendor_app media_rw_data_file:file { create_file_perms };
# 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 };
# Date : 2019/03/25
# Operation : IT
# Purpose : for engineermode sensor can work normal
allow vendor_app als_ps_device:chr_file r_file_perms;
allow vendor_app gsensor_device:chr_file r_file_perms;
allow vendor_app gyroscope_device:chr_file r_file_perms;