sdm845-common: Import pocketmode app and SELinux rules for it
* Based off android_device_oneplus_msm8998-common pocketmode app but without fpc10xx support and using actual OnePlus pocketmode sensor. Change-Id: I73eaf7e00afd08cdad71d323b6821eb8a0160cd2
This commit is contained in:
@@ -5,3 +5,4 @@ type op1_file, file_type;
|
||||
type op2_file, file_type;
|
||||
type persist_file, file_type;
|
||||
type proc_touchpanel, fs_type;
|
||||
type sysfs_fpc_proximity, sysfs_type, fs_type;
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
/op2(/.*)? u:object_r:op2_file:s0
|
||||
/persist(/.*)? u:object_r:persist_file:s0
|
||||
|
||||
# Files in sysfs
|
||||
/sys/devices/platform/soc/soc:goodix_fp/proximity_state u:object_r:sysfs_fpc_proximity:s0
|
||||
|
||||
# Lights
|
||||
/system/bin/hw/android\.hardware\.light@2\.0-service\.oneplus_sdm845 u:object_r:hal_light_sdm845_exec:s0
|
||||
|
||||
|
||||
1
sepolicy/private/system_app.te
Normal file
1
sepolicy/private/system_app.te
Normal file
@@ -0,0 +1 @@
|
||||
allow system_app sysfs_fpc_proximity:file w_file_perms;
|
||||
Reference in New Issue
Block a user