@@ -28,25 +28,25 @@ NEW_FUNC_DEF(int, __system_property_get, const char *key, char *value) {
2828 if (key) {
2929 if (strcmp (" ro.miui.ui.version.name" , key) == 0 ) {
3030 strcpy (value, " V9" );
31- LOGI (" system_property_get: %s -> %s" , key, value);
31+ // LOGI("system_property_get: %s -> %s", key, value);
3232 } else if (strcmp (" ro.miui.ui.version.code" , key) == 0 ) {
3333 strcpy (value, " 7" );
34- LOGI (" system_property_get: %s -> %s" , key, value);
34+ // LOGI("system_property_get: %s -> %s", key, value);
3535 } else if (strcmp (" ro.miui.version.code_time" , key) == 0 ) {
3636 strcpy (value, " 1527550858" );
37- LOGI (" system_property_get: %s -> %s" , key, value);
37+ // LOGI("system_property_get: %s -> %s", key, value);
3838 } else if (strcmp (" ro.miui.internal.storage" , key) == 0 ) {
3939 strcpy (value, " /sdcard/" );
40- LOGI (" system_property_get: %s -> %s" , key, value);
40+ // LOGI("system_property_get: %s -> %s", key, value);
4141 } else if (strcmp (" ro.product.manufacturer" , key) == 0 ) {
4242 strcpy (value, " Xiaomi" );
43- LOGI (" system_property_get: %s -> %s" , key, value);
43+ // LOGI("system_property_get: %s -> %s", key, value);
4444 } else if (strcmp (" ro.product.brand" , key) == 0 ) {
4545 strcpy (value, " Xiaomi" );
46- LOGI (" system_property_get: %s -> %s" , key, value);
46+ // LOGI("system_property_get: %s -> %s", key, value);
4747 } else if (strcmp (" ro.product.name" , key) == 0 ) {
4848 strcpy (value, " Xiaomi" );
49- LOGI (" system_property_get: %s -> %s" , key, value);
49+ // LOGI("system_property_get: %s -> %s", key, value);
5050 }
5151
5252 }
@@ -58,25 +58,25 @@ NEW_FUNC_DEF(std::string, _ZN7android4base11GetPropertyERKNSt3__112basic_stringI
5858
5959 if (strcmp (" ro.miui.ui.version.name" , key.c_str ()) == 0 ) {
6060 res = " V9" ;
61- LOGI (" android::base::GetProperty: %s -> %s" , key.c_str (), res.c_str ());
61+ // LOGI("android::base::GetProperty: %s -> %s", key.c_str(), res.c_str());
6262 } else if (strcmp (" ro.miui.ui.version.code" , key.c_str ()) == 0 ) {
6363 res = " 7" ;
64- LOGI (" android::base::GetProperty: %s -> %s" , key.c_str (), res.c_str ());
64+ // LOGI("android::base::GetProperty: %s -> %s", key.c_str(), res.c_str());
6565 } else if (strcmp (" ro.miui.version.code_time" , key.c_str ()) == 0 ) {
6666 res = " 1527550858" ;
67- LOGI (" android::base::GetProperty: %s -> %s" , key.c_str (), res.c_str ());
67+ // LOGI("android::base::GetProperty: %s -> %s", key.c_str(), res.c_str());
6868 } else if (strcmp (" ro.miui.internal.storage" , key.c_str ()) == 0 ) {
6969 res = " /sdcard/" ;
70- LOGI (" android::base::GetProperty: %s -> %s" , key.c_str (), res.c_str ());
70+ // LOGI("android::base::GetProperty: %s -> %s", key.c_str(), res.c_str());
7171 } else if (strcmp (" ro.product.manufacturer" , key.c_str ()) == 0 ) {
7272 res = " Xiaomi" ;
73- LOGI (" android::base::GetProperty: %s -> %s" , key.c_str (), res.c_str ());
73+ // LOGI("android::base::GetProperty: %s -> %s", key.c_str(), res.c_str());
7474 } else if (strcmp (" ro.product.brand" , key.c_str ()) == 0 ) {
7575 res = " Xiaomi" ;
76- LOGI (" android::base::GetProperty: %s -> %s" , key.c_str (), res.c_str ());
76+ // LOGI("android::base::GetProperty: %s -> %s", key.c_str(), res.c_str());
7777 } else if (strcmp (" ro.product.name" , key.c_str ()) == 0 ) {
7878 res = " Xiaomi" ;
79- LOGI (" android::base::GetProperty: %s -> %s" , key.c_str (), res.c_str ());
79+ // LOGI("android::base::GetProperty: %s -> %s", key.c_str(), res.c_str());
8080 }
8181 return res;
8282}
0 commit comments