diff options
| author | dianlujitao <dianlujitao@lineageos.org> | 2022-08-18 10:52:49 +0800 |
|---|---|---|
| committer | dianlujitao <dianlujitao@lineageos.org> | 2022-09-03 14:41:03 +0800 |
| commit | be5d73985be755b1e5e293744ae215c1fe497f90 (patch) | |
| tree | 4a8784fb151d54aa27f1f0ae1e690078f1aaf1c6 | |
| parent | 29fc04b372427907ddae6740f35eb6e6140733e2 (diff) | |
nio: Decommonize sepolicy
Change-Id: I652ba561fabae4884f1a36c96aac6ad1c28d5b87
| -rw-r--r-- | BoardConfig.mk | 3 | ||||
| -rw-r--r-- | sepolicy/vendor/genfs_contexts | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index ddac7fa0..75f1f25f 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -17,6 +17,9 @@ DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml # Kernel TARGET_KERNEL_CONFIG := vendor/lineageos_nio_defconfig +# SEPolicy +BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor + # Touch SOONG_CONFIG_NAMESPACES += MOTO_KONA_TOUCH SOONG_CONFIG_MOTO_KONA_TOUCH := SINGLE_TAP_PATH diff --git a/sepolicy/vendor/genfs_contexts b/sepolicy/vendor/genfs_contexts new file mode 100644 index 00000000..1ee918d2 --- /dev/null +++ b/sepolicy/vendor/genfs_contexts @@ -0,0 +1,2 @@ +# Vibrator +genfscon sysfs /devices/platform/soc/884000.i2c/i2c-1/1-005a/leds/vibrator u:object_r:sysfs_vibrator:s0 |
