s5neolte: dont attempt to download nfc firmware when nfc is off
authorJan Altensen <info@stricted.net>
Wed, 26 Jun 2019 01:04:42 +0000 (03:04 +0200)
committerJan Altensen <info@stricted.net>
Mon, 12 Aug 2019 14:26:21 +0000 (16:26 +0200)
* property got renamed in lineage-16.0

Change-Id: Iddc9005121a9d90de1635a96d40e28be3fbe1171

device.mk
system_prop.mk

index d2d0400720e172bcab2fd1033c48b3ab460e9c7c..3e81ba3bc3c91296ee51877d7c3de8c4a3ba7edb 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -82,9 +82,6 @@ PRODUCT_PACKAGES += \
     com.android.nfc_extras \
     android.hardware.nfc@1.0-impl
 
-PRODUCT_PROPERTY_OVERRIDES += \
-    ro.nfc.sec_hal=true
-
 # Permissions
 PRODUCT_COPY_FILES += \
     frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \
index daecceee8107f558e28cc8f3c9aa1b7675bbdcc8..72970819be12ada3bec4376de6d7e8ddaa6dc437 100644 (file)
@@ -27,6 +27,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
     dalvik.vm.heapminfree=2m \
     dalvik.vm.heapmaxfree=8m
 
+# NFC
+PRODUCT_PROPERTY_OVERRIDES += \
+    ro.nfc.fw_dl_on_boot=false
+
 # Radio
 PRODUCT_PROPERTY_OVERRIDES += \
     telephony.lteOnCdmaDevice=0 \