From e948bb326a518bd2f7f92410c4f2d0ae6f6d146a Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Fri, 10 Nov 2023 22:42:44 +0000 Subject: [PATCH] Removes duplicate hidraw_device type definition. This type is now defined by the platform. Bug: 303522222 Change-Id: I3e1fc7cb102fa9e9a80b8751eb0da505e3b3d69f Test: ls -z /dev/hidraw0 --- whitechapel/vendor/google/device.te | 3 --- whitechapel/vendor/google/file_contexts | 4 ---- 2 files changed, 7 deletions(-) diff --git a/whitechapel/vendor/google/device.te b/whitechapel/vendor/google/device.te index 17dede95..113cd5cf 100644 --- a/whitechapel/vendor/google/device.te +++ b/whitechapel/vendor/google/device.te @@ -35,9 +35,6 @@ type vscaler_heap_device, dmabuf_heap_device_type, dev_type; # Fingerprint device type fingerprint_device, dev_type; -# Raw HID device -type hidraw_device, dev_type; - # SecureElement SPI device type st54spi_device, dev_type; type st33spi_device, dev_type; diff --git a/whitechapel/vendor/google/file_contexts b/whitechapel/vendor/google/file_contexts index b45782e6..ea95a34a 100644 --- a/whitechapel/vendor/google/file_contexts +++ b/whitechapel/vendor/google/file_contexts @@ -373,7 +373,3 @@ /vendor/lib64/android\.frameworks\.stats-V1-ndk\.so u:object_r:same_process_hal_file:s0 /vendor/lib64/vendor-pixelatoms-cpp\.so u:object_r:same_process_hal_file:s0 /vendor/lib64/libprotobuf-cpp-lite-(\d+\.){2,3}so u:object_r:same_process_hal_file:s0 - -# Raw HID device -/dev/hidraw[0-9]* u:object_r:hidraw_device:s0 -