diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index 84d893de..d979ac0b 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -510,8 +510,8 @@ CPhoneDevice::CPhoneDevice(JavaVM* vm, jobject service, const std::string& appPa // Reset all powers char propValue[PROP_VALUE_MAX] = { 0 }; - int res = __system_property_get("ro.product.model", propValue); - if (res > 0) + int propRes = __system_property_get("ro.custom.ota.version", propValue); + if (propRes > 0) { if (!startsWith(propValue, "xinying_WP_")) {