diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index 3d1703fa..84d893de 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -509,7 +509,15 @@ CPhoneDevice::CPhoneDevice(JavaVM* vm, jobject service, const std::string& appPa localDelayTime = GetMicroTimeStamp(); // Reset all powers - GpioControl::setInt(CMD_SET_INIT_STATUS, 1); + char propValue[PROP_VALUE_MAX] = { 0 }; + int res = __system_property_get("ro.product.model", propValue); + if (res > 0) + { + if (!startsWith(propValue, "xinying_WP_")) + { + GpioControl::setInt(CMD_SET_INIT_STATUS, 1); + } + } RegisterHandlerForSignal(SIGUSR2);