From c077f6ffd51438b7d5657b2031e3cfab9f015abe Mon Sep 17 00:00:00 2001 From: Gabriel2392 Date: Sat, 30 Jul 2022 07:02:19 -0300 Subject: [PATCH] init: don't enable nfc for all M-Ending models --- universal7885-common/libinit/init_universal7885.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/universal7885-common/libinit/init_universal7885.cpp b/universal7885-common/libinit/init_universal7885.cpp index afaca08..548920c 100644 --- a/universal7885-common/libinit/init_universal7885.cpp +++ b/universal7885-common/libinit/init_universal7885.cpp @@ -85,12 +85,7 @@ void vendor_load_properties() { } if (hasEnding(model, "N") || hasEnding(model, "S") || hasEnding(model, "K") || - model == "SM-A202F") { - property_override("ro.boot.product.hardware.sku", "NFC"); - } - - if (hasEnding(model, "N") || hasEnding(model, "M") || - model == "SM-A405F") { + model == "SM-A202F" || model == "SM-A405FM" || model == "SM-A405F") { property_override("ro.boot.product.hardware.sku", "NFC"); }