summaryrefslogtreecommitdiff
path: root/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660.rc
blob: c0d85dacdbeb18008d164cdf07792baf4767903a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
on init
    chown system system /dev/goodix_fp
    chmod 0644 /dev/goodix_fp

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_sdm660
    # "class hal" causes a race condition on some devices due to files created
    # in /data. As a workaround, postpone startup until later in boot once
    # /data is mounted.
    class late_start
    user system
    group system input uhid
    writepid /dev/cpuset/system-background/tasks