diff --git a/sepolicy/vendor/device.te b/sepolicy/vendor/device.te index 011fae4..5db4c83 100644 --- a/sepolicy/vendor/device.te +++ b/sepolicy/vendor/device.te @@ -1,7 +1,5 @@ # Fingerprint -type etsd_device, dev_type; -type focaltech_fp_device, dev_type; -type fpsensor_device, dev_type; +type fps_device, dev_type; # Moto partitions type vendor_hw_block_device, dev_type; diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index 5458e74..48e8b7e 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -43,9 +43,9 @@ /data/vendor/.fps(/.*)? u:object_r:fingerprint_vendor_data_file:s0 /data/vendor/focaltech(/.*)? u:object_r:fingerprint_vendor_data_file:s0 /data/vendor/fpc(/.*)? u:object_r:fingerprint_vendor_data_file:s0 -/dev/esfp0 u:object_r:etsd_device:s0 -/dev/focaltech_fp u:object_r:focaltech_fp_device:s0 -/dev/fpsensor u:object_r:fpsensor_device:s0 +/dev/esfp0 u:object_r:fps_device:s0 +/dev/focaltech_fp u:object_r:fps_device:s0 +/dev/fpsensor u:object_r:fps_device:s0 # Motobox /(vendor|system/vendor)/bin/motobox u:object_r:vendor_motobox_exec:s0 diff --git a/sepolicy/vendor/hal_fingerprint_default.te b/sepolicy/vendor/hal_fingerprint_default.te index cce2b22..06743d4 100644 --- a/sepolicy/vendor/hal_fingerprint_default.te +++ b/sepolicy/vendor/hal_fingerprint_default.te @@ -1,7 +1,5 @@ allow hal_fingerprint_default { - etsd_device - focaltech_fp_device - fpsensor_device + fps_device tee_device }: chr_file rw_file_perms;