[ALPS04033230] EM:gsensor cali fail

root cause: cant access dev/gsensor
solution: modify dev/gsensor user group
          and modify selinux at the same time

MTK-Commit-Id: d9a07d298ac7c7f6f337e998e79e0c7b607968ec

Change-Id: Id8d37fe90970297a1e23d40cb8c3fe39fd928e0f
CR-Id: ALPS04033230
Feature: [Android Default] Acclerometer
This commit is contained in:
Juan Rong 2020-01-18 10:05:58 +08:00
parent 040b7b3d45
commit 4586efdd5a

View File

@ -21,6 +21,8 @@ allow radio debugfs_usb20_phy:dir search;
# Operation : IT # Operation : IT
# Purpose : for engineermode sensor can work normal # Purpose : for engineermode sensor can work normal
allow radio als_ps_device:chr_file { read open ioctl }; 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 # Date : WK14.38 2016/06/28
# Operation : Migration # Operation : Migration