Files
device_xiaomi_stone/rootdir/etc/init.nfc.rc
Ramii Ahmed 744fe6e329 sm6375-common: Override HAL service and enable with nfc SKU
Change-Id: I3c33c50b65410a09a0e5529f3c9a94fbf36d8a31
2022-09-04 12:59:43 +00:00

16 lines
322 B
Plaintext

#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
service vendor.nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.2-service
override
class hal
user nfc
group nfc
disabled
on boot && property:ro.boot.product.hardware.sku=nfc
enable vendor.nfc_hal_service