vendor: Allow lineage fastcharge HAL to set prop and trigger the switch
authorAndreas Schneider <asn@cryptomilk.org>
Thu, 21 Jan 2021 08:00:25 +0000 (09:00 +0100)
committerBruno Martins <bgcngm@gmail.com>
Fri, 22 Jan 2021 12:57:32 +0000 (13:57 +0100)
Change-Id: Iee6cf079da97878d66752961cad6a4e44e0c862f

common/vendor/hal_lineage_fastcharge_default.te [new file with mode: 0644]

diff --git a/common/vendor/hal_lineage_fastcharge_default.te b/common/vendor/hal_lineage_fastcharge_default.te
new file mode 100644 (file)
index 0000000..a0281d5
--- /dev/null
@@ -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;