Change-Id: Ia70f5f4eb8d44e87b78adb538f06642d548c8bf4
# Power
PRODUCT_PACKAGES += \
- power.universal7580 \
- android.hardware.power@1.0-service \
- android.hardware.power@1.0-impl
+ android.hardware.power@1.0-service.exynos
# Permissions
PRODUCT_COPY_FILES += \
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.samsung u:object_r:hal_light_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.samsung u:object_r:hal_fingerprint_default_exec:s0
+/(vendor|system/vendor)/bin/hw/android\.hardware\.power@1\.0-service\.exynos u:object_r:hal_power_default_exec:s0
+# Allow reading of sysfs nodes to find input devices
+allow hal_power_default sysfs:dir r_dir_perms;
+allow hal_power_default sysfs:file r_file_perms;
+
# Input devices
allow hal_power_default sysfs_input:dir r_dir_perms;
allow hal_power_default sysfs_input:file rw_file_perms;