From edf602631cc187546a6c2c5ba3aabdc1ffea7ad8 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 21 Jan 2021 09:00:25 +0100 Subject: [PATCH] vendor: Allow lineage fastcharge HAL to set prop and trigger the switch Change-Id: Iee6cf079da97878d66752961cad6a4e44e0c862f --- common/vendor/hal_lineage_fastcharge_default.te | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 common/vendor/hal_lineage_fastcharge_default.te diff --git a/common/vendor/hal_lineage_fastcharge_default.te b/common/vendor/hal_lineage_fastcharge_default.te new file mode 100644 index 0000000..a0281d5 --- /dev/null +++ b/common/vendor/hal_lineage_fastcharge_default.te @@ -0,0 +1,6 @@ +# hal_lineage_fastcharge_default + +set_prop(hal_lineage_fastcharge, vendor_fastcharge_prop) + +allow hal_lineage_fastcharge_default sysfs_sec_switch:dir search; +allow hal_lineage_fastcharge_default sysfs_sec_switch_writable:file rw_file_perms; -- 2.20.1