diff --git a/msm8976.mk b/msm8976.mk index 41bcb42..15dde3b 100644 --- a/msm8976.mk +++ b/msm8976.mk @@ -197,9 +197,7 @@ PRODUCT_PACKAGES += \ # Lights PRODUCT_PACKAGES += \ - android.hardware.light@2.0-impl \ - android.hardware.light@2.0-service \ - lights.MSM8952 + android.hardware.light@2.0-service.samsung # LiveDisplay PRODUCT_PACKAGES += \ diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 2ee9241..fb7f907 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -25,6 +25,7 @@ # Lights /sys/devices/virtual/sec/sec_touchkey/brightness u:object_r:sysfs_leds:s0 +/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.samsung u:object_r:hal_light_default_exec:s0 # LiveDisplay /(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.samsung-qcom u:object_r:hal_lineage_livedisplay_sysfs_exec:s0