device_xiaomi_sweet/rootdir/etc/init.sweet.rc
Erfan Abdi e307f22c28 sweet: Disable NFC for indian devices
* Setup sweet sku when device is global.
* Move the nfc manifest entry to sweet hardware sku
  variant.

Change-Id: I76ac75cd80f85efa6dfa68753602d934a11000a3
Signed-off-by: Arian <arian.kulmer@web.de>
2022-03-24 20:51:30 +05:30

11 lines
277 B
Plaintext

on property:ro.boot.product.hardware.sku=sweet
enable vendor.nfc_hal_service
service vendor.nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.2-service
override
class hal
user nfc
group nfc
writepid /dev/cpuset/system-background/tasks
disabled