dre: Remove KeyHandler
The N200 does not have an alert slider, making KeyHandler useless to us. Change-Id: I9589b730172b3fc79070d75b8183fe9f92447a6e
This commit is contained in:
parent
47a821ffae
commit
14c4279118
8 changed files with 0 additions and 33 deletions
|
@ -218,7 +218,6 @@ VENDOR_SECURITY_PATCH := 2022-03-01
|
|||
include device/qcom/sepolicy_vndr/SEPolicy.mk
|
||||
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
|
||||
PRODUCT_PRIVATE_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/private
|
||||
|
||||
# Verified Boot
|
||||
BOARD_AVB_ENABLE := true
|
||||
|
|
|
@ -499,11 +499,6 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_PACKAGES += \
|
||||
vendor.lineage.touch@1.0-service.oneplus
|
||||
|
||||
# tri-state-key
|
||||
PRODUCT_PACKAGES += \
|
||||
KeyHandler \
|
||||
tri-state-key-calibrate
|
||||
|
||||
# Update engine
|
||||
PRODUCT_PACKAGES += \
|
||||
update_engine \
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
type keyhandler_app, domain;
|
||||
|
||||
app_domain(keyhandler_app)
|
||||
|
||||
allow keyhandler_app self:netlink_kobject_uevent_socket { read bind setopt create };
|
||||
|
||||
allow keyhandler_app app_api_service:service_manager find;
|
||||
|
||||
allow keyhandler_app system_app_data_file:dir create_dir_perms;
|
||||
allow keyhandler_app system_app_data_file:{ file lnk_file } create_file_perms;
|
|
@ -1 +0,0 @@
|
|||
user=system seinfo=platform name=org.lineageos.settings.device domain=keyhandler_app type=system_app_data_file
|
1
sepolicy/vendor/file.te
vendored
1
sepolicy/vendor/file.te
vendored
|
@ -20,4 +20,3 @@ type sysfs_ois_control, fs_type, sysfs_type;
|
|||
type sysfs_project_info, fs_type, sysfs_type;
|
||||
type sysfs_tof_control, fs_type, sysfs_type;
|
||||
type sysfs_tpd, fs_type, sysfs_type;
|
||||
type sysfs_tri_state_key, sysfs_type, fs_type;
|
||||
|
|
1
sepolicy/vendor/file_contexts
vendored
1
sepolicy/vendor/file_contexts
vendored
|
@ -1,6 +1,5 @@
|
|||
# Binaries
|
||||
/(vendor|system/vendor)/bin/opf-service u:object_r:opf_exec:s0
|
||||
/(vendor|system/vendor)/bin/tri-state-key-calibrate u:object_r:tri-state-key-calibrate_exec:s0
|
||||
/(vendor|system/vendor)/bin/wifi-mac-generator u:object_r:wifi-mac-generator_exec:s0
|
||||
|
||||
# Block devices
|
||||
|
|
1
sepolicy/vendor/genfs_contexts
vendored
1
sepolicy/vendor/genfs_contexts
vendored
|
@ -10,7 +10,6 @@ genfscon sysfs /devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/card0-DSI-1
|
|||
genfscon sysfs /devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/card0-DSI-1/notify_dim u:object_r:sysfs_fod:s0
|
||||
genfscon sysfs /devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/card0-DSI-1/notify_fppress u:object_r:sysfs_fod:s0
|
||||
genfscon sysfs /devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/card0-DSI-1/power_status u:object_r:sysfs_fod:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:tri_state_key/hall_data_calib u:object_r:sysfs_tri_state_key:s0
|
||||
genfscon sysfs /kernel/ois_control u:object_r:sysfs_ois_control:s0
|
||||
genfscon sysfs /kernel/tof_control u:object_r:sysfs_tof_control:s0
|
||||
genfscon sysfs /module/memplus_core/parameters u:object_r:sysfs_memplus:s0
|
||||
|
|
13
sepolicy/vendor/tri-state-key-calibrate.te
vendored
13
sepolicy/vendor/tri-state-key-calibrate.te
vendored
|
@ -1,13 +0,0 @@
|
|||
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)
|
Loading…
Reference in a new issue