universal7580: sepolicy: Label J7 input devices
authorDario Trombello <dariotr@outlook.de>
Sun, 24 May 2020 18:47:35 +0000 (20:47 +0200)
committerDario Trombello <dariotr@outlook.de>
Fri, 19 Jun 2020 14:16:36 +0000 (16:16 +0200)
Change-Id: Ifdceb801f92e1da70eecfa4204af7eda4f53badf

sepolicy/genfs_contexts

index 3d7ffdad43b228c8fb167057222b9bc40e8367f6..52c7a6deb9380b871d14781d4e33ac5ffc73b976 100644 (file)
@@ -48,6 +48,12 @@ genfscon sysfs /devices/13850000.i2c/i2c-10/10-0020/input/input3            u:ob
 genfscon sysfs /devices/i2c.20/i2c-4/4-0020/input/input2                    u:object_r:sysfs_input:s0
 genfscon sysfs /devices/virtual/fingerprint/fingerprint                     u:object_r:sysfs_input:s0
 
+# J7 power devices
+genfscon sysfs /devices/13850000.i2c/i2c-8/8-0049/sm5703-charger/power_supply       u:object_r:sysfs_usb_supply:s0
+
+# J7 Input devices
+genfscon sysfs /devices/13860000.i2c/i2c-9/9-0048/input/input2           u:object_r:sysfs_input:s0
+
 # S5 NEO Input devices
 genfscon sysfs /devices/13860000.i2c/i2c-11/11-0048/input/input2            u:object_r:sysfs_input:s0
 genfscon sysfs /devices/i2c.22/i2c-4/4-0020/input/input1                    u:object_r:sysfs_input:s0