From ee9740df18f85cfb890fe8d23b655ace531221c9 Mon Sep 17 00:00:00 2001 From: Tai Kuo Date: Sat, 4 Feb 2023 15:31:31 +0800 Subject: [PATCH] Update vibrator SEPolicy for possible paths Pre-porting. Align with other P23 projects. Bug: 264625320 Test: Build sepolicy. Change-Id: I8996bbdd32fd8c2c708dca00f49a0ab4c33aedb7 --- vendor/genfs_contexts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 vendor/genfs_contexts diff --git a/vendor/genfs_contexts b/vendor/genfs_contexts new file mode 100644 index 0000000..2147fa3 --- /dev/null +++ b/vendor/genfs_contexts @@ -0,0 +1,4 @@ +# Haptics +genfscon sysfs /devices/platform/10c80000.hsi2c/i2c-4/4-0043 u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10c80000.hsi2c/i2c-5/5-0043 u:object_r:sysfs_vibrator:s0 +genfscon sysfs /devices/platform/10c80000.hsi2c/i2c-6/6-0043 u:object_r:sysfs_vibrator:s0