sdm845-common: Add power hal
Change-Id: I764cccb93b01ea2bfaca4cfe93ac314b7c680d5d
This commit is contained in:
@@ -4,3 +4,4 @@ type firmware_file, file_type;
|
||||
type op1_file, file_type;
|
||||
type op2_file, file_type;
|
||||
type persist_file, file_type;
|
||||
type proc_touchpanel, fs_type;
|
||||
|
||||
@@ -9,5 +9,9 @@
|
||||
# Lights
|
||||
/system/bin/hw/android\.hardware\.light@2\.0-service\.oneplus_sdm845 u:object_r:hal_light_sdm845_exec:s0
|
||||
|
||||
# Power HAL
|
||||
/system/lib64/hw/power\.qcom\.so u:object_r:vendor_file:s0
|
||||
/system/lib/hw/power\.qcom\.so u:object_r:vendor_file:s0
|
||||
|
||||
# tri-state-key
|
||||
/system/bin/tri-state-key_daemon u:object_r:tri-state-key_daemon_exec:s0
|
||||
|
||||
2
sepolicy/private/hal_power.te
Normal file
2
sepolicy/private/hal_power.te
Normal file
@@ -0,0 +1,2 @@
|
||||
allow hal_power proc_touchpanel:dir search;
|
||||
allow hal_power proc_touchpanel:file w_file_perms;
|
||||
Reference in New Issue
Block a user