From da3e268e93a52483132a58652d094398b8c02243 Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Thu, 30 Nov 2023 23:27:56 +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:b204558a731d6a6a79b701dc8d7c017f59e9af93) Merged-In: Ia2f817ce99548c30f39a5164c8f6ec323db66155 Change-Id: Ia2f817ce99548c30f39a5164c8f6ec323db66155 --- whitechapel_pro/device.te | 4 ---- whitechapel_pro/file_contexts | 3 --- 2 files changed, 7 deletions(-) diff --git a/whitechapel_pro/device.te b/whitechapel_pro/device.te index b66248a7..1b17239c 100644 --- a/whitechapel_pro/device.te +++ b/whitechapel_pro/device.te @@ -24,7 +24,3 @@ type fips_block_device, dev_type; # SecureElement SPI device type st54spi_device, dev_type; type st33spi_device, dev_type; - -# Raw HID device -type hidraw_device, dev_type; - diff --git a/whitechapel_pro/file_contexts b/whitechapel_pro/file_contexts index c4f5b098..80bf8721 100644 --- a/whitechapel_pro/file_contexts +++ b/whitechapel_pro/file_contexts @@ -226,6 +226,3 @@ /mnt/vendor/efs(/.*)? u:object_r:modem_efs_file:s0 /mnt/vendor/efs_backup(/.*)? u:object_r:modem_efs_file:s0 /mnt/vendor/modem_userdata(/.*)? u:object_r:modem_userdata_file:s0 - -# Raw HID device -/dev/hidraw[0-9]* u:object_r:hidraw_device:s0