universal7885: Only start NFC service on supported variants

Change-Id: I6c272eca6b45760679aac4effc7c074444692cf1
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
Volodymyr Zhdanov 2021-01-30 12:33:29 +01:00 committed by roynatech2544
commit c7c83fdac1

View file

@ -602,3 +602,14 @@ service charger /system/bin/charger
group system graphics input
capabilities SYS_BOOT
seclabel u:r:charger:s0
# Start NFC on supported variants
service nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.2-service.samsung
override
class hal
user nfc
group nfc
disabled
on property:ro.boot.product.hardware.sku=NFC
start nfc_hal_service