potter:remove nfcnci folder too on XT1687 variant to prevent nfc wakelock

This commit is contained in:
attack11
2017-08-12 14:46:59 -03:00
parent c00588da41
commit cdf9d12da3

View File

@@ -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