Move fingerprint to each device sepolicy folder

Bug: 312322769
Test: make sepolicy
Change-Id: I5f0032655f97e01cd18fdabb9d909e9e2295744d
This commit is contained in:
Wilson Sung 2023-12-19 03:51:10 +00:00
parent 05f2f5195b
commit 76a6fad054
13 changed files with 6 additions and 9 deletions

View file

@ -1,5 +1,2 @@
# sepolicy exclusively for comet.
BOARD_SEPOLICY_DIRS += device/google/comet-sepolicy/vendor
# Fingerprint
BOARD_SEPOLICY_DIRS += device/google/comet-sepolicy/fingerprint_capacitance

View file

@ -1,5 +0,0 @@
# FPC AIDL HAL
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint-service\.fpc42_fw49 u:object_r:hal_fingerprint_capacitance_exec:s0
# FPC HIDL HAL
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.fpc u:object_r:fingerprint_factory_service_exec:s0

View file

@ -1 +0,0 @@
genfscon sysfs /devices/platform/odm/odm:fp_fpc1020 u:object_r:sysfs_fingerprint:s0

View file

@ -30,3 +30,8 @@
/vendor/bin/hw/gnss-aidl-service_IGnssV2_ISlsiGnssV1 u:object_r:hal_gnss_default_exec:s0
/vendor/bin/gnss_check\.sh u:object_r:gnss_check_exec:s0
/vendor/bin/init_thermal_config u:object_r:init_thermal_config_exec:s0
# FPC AIDL HAL
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint-service\.fpc42_fw49 u:object_r:hal_fingerprint_capacitance_exec:s0
# FPC HIDL HAL
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.fpc u:object_r:fingerprint_factory_service_exec:s0

View file

@ -29,3 +29,4 @@ genfscon sysfs /devices/platform/google,dual_batt_gauge/power_supply/dualbatt/wa
# WLC
genfscon sysfs /devices/platform/10ca0000.hsi2c/i2c-10/10-0061 u:object_r:sysfs_wlc:s0
genfscon sysfs /devices/platform/odm/odm:fp_fpc1020 u:object_r:sysfs_fingerprint:s0