on property:init.svc.vendor.stflashtool=stopped && property:ro.vendor.hw.nfc=true
    start vendor.st_nfc_hal_service

on property:init.svc.vendor.stflashtool=stopped && property:ro.vendor.hw.nfc=st
    start vendor.st_nfc_hal_service

on property:init.svc.vendor.stflashtool=stopped && property:ro.vendor.hw.nfc=ese_st
    start vendor.st_nfc_hal_service

service vendor.st_nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.2-service.st
    override
    class hal
    user nfc
    group nfc
    disabled
    # Motorola, wangjiao, 06/02/2021, IKSWR-85914, add shutdown critical
    shutdown critical
