axolotl: sepolicy: initial rules for AIDL Light HAL
Change-Id: Ia7887cbde1ba6d20942aa6ead75d9a72a0ff1c31
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index 18c3857..466128e 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -4,3 +4,4 @@
# HALs
/vendor/bin/hw/android\.hardware\.power@1\.3-service\.shift-libperfmgr u:object_r:hal_power_default_exec:s0
/vendor/bin/hw/hardware\.shift\.light@1\.0-service u:object_r:hal_light_default_exec:s0
+/vendor/bin/hw/hardware\.shift\.light-service\.default u:object_r:hal_light_default_exec:s0
diff --git a/sepolicy/vendor/service_contexts b/sepolicy/vendor/service_contexts
index 42aae9c..92d4d5b 100644
--- a/sepolicy/vendor/service_contexts
+++ b/sepolicy/vendor/service_contexts
@@ -1 +1,5 @@
+# Fingerprint HAL
android.hardware.fingerprint.IGoodixFingerprintDaemon u:object_r:goodixfingerprintd_service:s0
+
+# Lights HAL
+hardware.shift.light.ILights/default u:object_r:hal_light_service:s0