From 4efee45bf34c1b3a3baf51feed6c21ab9cb7b89c Mon Sep 17 00:00:00 2001 From: raghavt20 Date: Thu, 1 Apr 2021 08:45:34 +0000 Subject: [PATCH] sm6150-common: fingerprint: Setup permissions for violet's goodix node Change-Id: I7349fa80f6576e2892283a21b6f2acd1f42e3e8b --- ...rdware.biometrics.fingerprint@2.1-service.xiaomi_sm6150.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fingerprint/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150.rc b/fingerprint/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150.rc index d084910..2e35bf4 100644 --- a/fingerprint/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150.rc +++ b/fingerprint/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150.rc @@ -1,9 +1,13 @@ +on init + chown system system /dev/goodix_fp + on boot chown system system /sys/bus/platform/devices/soc/soc:fpc1020/irq chown system system /sys/bus/platform/devices/soc/soc:fpc1020/wakeup_enable on post-fs-data mkdir /data/vendor/fpc 0770 system system + mkdir /data/vendor/goodix 0770 system system service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150 # "class hal" causes a race condition on some devices due to files created