universal7885: NFC SKU A40 Model fix

The A404F - "M" Model isn't detecting the NFC HW, so we added A405F models to init_universal7885 and seperate the models by the added code. This commit is confirmed and working.
This commit is contained in:
kevios12 2022-07-17 16:51:27 +02:00 committed by GitHub
commit de57eed3fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,11 @@ void vendor_load_properties() {
model == "SM-A202F") {
property_override("ro.boot.product.hardware.sku", "NFC");
}
if (hasEnding(model, "N") || hasEnding(model, "M") ||
model == "SM-A405F") {
property_override("ro.boot.product.hardware.sku", "NFC");
}
set_ro_build_prop("model", model);
set_ro_build_prop("product", model, false);