Change-Id: Iec1a7faec24f0d5b4b1d2f1ef52b781368c5bd51
# Manifest
DEVICE_MANIFEST_FILE := $(LOCAL_PATH)/manifest.xml
+# SELinux
+BOARD_SEPOLICY_DIRS += device/samsung/a5xelte/sepolicy
+
# Shim
TARGET_LD_SHIM_LIBS += \
/system/lib/libcamera_client.so|/vendor/lib/libcamera_client_shim.so \
libbauthtzcommon_shim \
android.hardware.biometrics.fingerprint@2.1-service.samsung
+# FastCharge
+PRODUCT_PACKAGES += \
+ vendor.lineage.fastcharge@1.0-service.samsung
+
# Camera
PRODUCT_PACKAGES += \
camera.universal7580 \
--- /dev/null
+/(vendor|system/vendor)/bin/hw/vendor\.lineage\.fastcharge@[0-9]\.[0-9]-service\.samsung u:object_r:hal_lineage_fastcharge_default_exec:s0
+
--- /dev/null
+# hal_lineage_fastcharge_default
+
+set_prop(hal_lineage_fastcharge, vendor_fastcharge_prop)
+
+allow hal_lineage_fastcharge_default sysfs:dir search;
+allow hal_lineage_fastcharge_default sysfs:file rw_file_perms;
--- /dev/null
+# Fastcharge HAL
+type vendor_fastcharge_prop, property_type;
+
--- /dev/null
+### fastcharge
+persist.vendor.sec.fastchg_enabled u:object_r:vendor_fastcharge_prop:s0
+