From 60940a7ad745d46e2d5bc7e9a5824759b952c082 Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Thu, 30 Nov 2023 23:27:49 +0000 Subject: [PATCH] Removes duplicate hidraw_device type definition. This type is now defined by the platform. Bug: 303522222 Test: ls -z /dev/hidraw0 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e948bb326a518bd2f7f92410c4f2d0ae6f6d146a) Merged-In: I3e1fc7cb102fa9e9a80b8751eb0da505e3b3d69f Change-Id: I3e1fc7cb102fa9e9a80b8751eb0da505e3b3d69f --- 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 a8be48f8..5903e37c 100644 --- a/whitechapel/vendor/google/file_contexts +++ b/whitechapel/vendor/google/file_contexts @@ -372,7 +372,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 -