diff --git a/non_plat/radio.te b/non_plat/radio.te index 139abba..bb32b94 100644 --- a/non_plat/radio.te +++ b/non_plat/radio.te @@ -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 diff --git a/non_plat/vendor_app.te b/non_plat/vendor_app.te index 75e27fa..932381d 100644 --- a/non_plat/vendor_app.te +++ b/non_plat/vendor_app.te @@ -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;