summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
authorSebastiano Barezzi <barezzisebastiano@gmail.com>2021-09-13 01:27:22 +0200
committerSebastiano Barezzi <barezzisebastiano@gmail.com>2021-09-20 14:19:36 +0200
commit91c106c2951ed596750e8f431dcba8b3abcc73b1 (patch)
tree17b6c7b7b84d2bd7f8631f50c176982b84c69963 /sepolicy
parentc280fadac20ef907764c8f5adafbabae2d24e6a8 (diff)
sdm660-common: ir: Rebrand to Xiaomi SDM660
Change-Id: I20146c0bc065a460f5a86455ed9a21abce5f9417
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/vendor/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index f1d7aee..04f6cec 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -21,6 +21,9 @@
/dev/lirc0 u:object_r:spidev_device:s0
/dev/spidev7.1 u:object_r:spidev_device:s0
+# IR HAL
+/(vendor|system/vendor)/bin/hw/android\.hardware\.ir@1\.0-service\.xiaomi_sdm660 u:object_r:hal_ir_default_exec:s0
+
# Light HAL
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_sdm660 u:object_r:hal_light_default_exec:s0