a3xelte: 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:28:49 +0000 (16:28 +0200)
* property got renamed in lineage-16.0

Change-Id: Iddc9005121a9d90de1635a96d40e28be3fbe1171

device.mk
system_prop.mk

index 7de7dc69ba8a2a06c05f41acc8af18d0eeb9bb37..c21a621e5907995a1b50ef1cfb5a13c7245c8a49 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -78,9 +78,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 51191697f822f41e379dc37237513d459642bb82..b4234b7a4d2b636b07e77ad278981365945e21c9 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 \