This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_oneplus_sm7250-common/sepolicy/vendor/tri-state-key-calibrate.te
LuK1337 b542d1243b sm7250-common: Adjust for recent tri state key changes
tri-state-key package has been integrated into KeyHandler app, and
KeyHandler itself no longer needs to be added to lineage-sdk overlays.

Change-Id: I13b8f05e8e0b036c9303a01ec0c7e2d99b6756f7
2022-01-05 11:00:41 +05:30

14 lines
473 B
Plaintext

type tri-state-key-calibrate, domain;
type tri-state-key-calibrate_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(tri-state-key-calibrate)
allow tri-state-key-calibrate vendor_shell_exec:file rx_file_perms;
allow tri-state-key-calibrate vendor_toolbox_exec:file rx_file_perms;
allow tri-state-key-calibrate sysfs_tri_state_key:file w_file_perms;
allow tri-state-key-calibrate mnt_vendor_file:dir search;
r_dir_file(tri-state-key-calibrate, oem_file)