From cdf9d12da34d5a8897d79fdf19b30040db9ce400 Mon Sep 17 00:00:00 2001 From: attack11 Date: Sat, 12 Aug 2017 14:46:59 -0300 Subject: [PATCH] potter:remove nfcnci folder too on XT1687 variant to prevent nfc wakelock --- configs/check_features.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/check_features.sh b/configs/check_features.sh index 49c69f7..c7d96ff 100644 --- a/configs/check_features.sh +++ b/configs/check_features.sh @@ -7,6 +7,7 @@ if [ "$sku" = "XT1687" ]; then rm /system/etc/permissions/android.hardware.nfc.xml rm /system/etc/permissions/android.hardware.nfc.hce.xml rm /system/etc/permissions/com.android.nfc_extras.xml + rm -r /system/app/NfcNci else # Only XT1687 variant got a compass rm /system/etc/permissions/android.hardware.sensor.compass.xml