mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 20:15:32 -04:00
universal7885: Only start NFC service on supported variants
Change-Id: I6c272eca6b45760679aac4effc7c074444692cf1 Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
f66a5f7574
commit
c7c83fdac1
1 changed files with 11 additions and 0 deletions
|
|
@ -602,3 +602,14 @@ service charger /system/bin/charger
|
||||||
group system graphics input
|
group system graphics input
|
||||||
capabilities SYS_BOOT
|
capabilities SYS_BOOT
|
||||||
seclabel u:r:charger:s0
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue