|
|
@ -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_"))
|
|
|
|
{
|
|
|
|
{
|
|
|
|