diff --git a/healthd.te b/healthd.te index 02c7ba8144956bf118e9f7e14f8230c830ed2c0e..63efd059d155676f24bb630a44f6c92888f98431 100644 --- a/healthd.te +++ b/healthd.te @@ -14,3 +14,14 @@ allow healthd self:netlink_kobject_uevent_socket create_socket_perms; binder_use(healthd) binder_service(healthd) binder_call(healthd, system_server) + +### +### healthd: charger mode +### + +allow healthd graphics_device:dir r_dir_perms; +allow healthd graphics_device:chr_file rw_file_perms; +allow healthd input_device:dir r_dir_perms; +allow healthd input_device:chr_file r_file_perms; +allow healthd ashmem_device:chr_file execute; +allow healthd self:process execmem;