微拍暂时不重置电源

lowmem
Matthew 2 months ago
parent 101d2b945a
commit c3e4ef0847

@ -510,8 +510,8 @@ CPhoneDevice::CPhoneDevice(JavaVM* vm, jobject service, const std::string& appPa
// Reset all powers // Reset all powers
char propValue[PROP_VALUE_MAX] = { 0 }; char propValue[PROP_VALUE_MAX] = { 0 };
int res = __system_property_get("ro.product.model", propValue); int propRes = __system_property_get("ro.custom.ota.version", propValue);
if (res > 0) if (propRes > 0)
{ {
if (!startsWith(propValue, "xinying_WP_")) if (!startsWith(propValue, "xinying_WP_"))
{ {

Loading…
Cancel
Save