From f1e1ee50c29d33e0ebedb60ca0628cc1d9ae85be Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Fri, 18 Nov 2022 13:39:07 +0800 Subject: [PATCH] remove panther's touch setting Bug: 256521567 Test: adb bugreport Change-Id: Ia4019d1c3b7db0ae278cb0133c1530857eac364c --- legacy/whitechapel_pro/file.te | 2 -- legacy/whitechapel_pro/genfs_contexts | 3 --- legacy/whitechapel_pro/vendor_init.te | 3 --- 3 files changed, 8 deletions(-) diff --git a/legacy/whitechapel_pro/file.te b/legacy/whitechapel_pro/file.te index 6c3cfe2b..f60d518a 100644 --- a/legacy/whitechapel_pro/file.te +++ b/legacy/whitechapel_pro/file.te @@ -68,5 +68,3 @@ typeattribute sysfs_st33spi mlstrustedobject; # USB-C throttling stats type sysfs_usbc_throttling_stats, sysfs_type, fs_type; -# Touch -type proc_touch, proc_type, fs_type; diff --git a/legacy/whitechapel_pro/genfs_contexts b/legacy/whitechapel_pro/genfs_contexts index 5dd5adca..7fe76faa 100644 --- a/legacy/whitechapel_pro/genfs_contexts +++ b/legacy/whitechapel_pro/genfs_contexts @@ -18,9 +18,6 @@ genfscon sysfs /devices/platform/28000000.mali/uid_time_in_state genfscon sysfs /devices/soc0/machine u:object_r:sysfs_soc:s0 genfscon sysfs /devices/soc0/revision u:object_r:sysfs_soc:s0 -# Touch -genfscon proc /focaltech_touch u:object_r:proc_touch:s0 - # tracefs genfscon tracefs /events/dmabuf_heap/dma_heap_stat u:object_r:debugfs_tracing:s0 diff --git a/legacy/whitechapel_pro/vendor_init.te b/legacy/whitechapel_pro/vendor_init.te index 69ab008d..97a84f5d 100644 --- a/legacy/whitechapel_pro/vendor_init.te +++ b/legacy/whitechapel_pro/vendor_init.te @@ -19,9 +19,6 @@ allow vendor_init sysfs_st33spi:file w_file_perms; # Fingerprint property set_prop(vendor_init, vendor_fingerprint_prop) -# Touch -allow vendor_init proc_touch:file w_file_perms; - allow vendor_init modem_img_file:filesystem { getattr }; # Battery