@@ -28,25 +28,25 @@ NEW_FUNC_DEF(int, __system_property_get, const char *key, char *value) {
28
28
if (key) {
29
29
if (strcmp (" ro.miui.ui.version.name" , key) == 0 ) {
30
30
strcpy (value, " V9" );
31
- LOGI (" system_property_get: %s -> %s" , key, value);
31
+ // LOGI("system_property_get: %s -> %s", key, value);
32
32
} else if (strcmp (" ro.miui.ui.version.code" , key) == 0 ) {
33
33
strcpy (value, " 7" );
34
- LOGI (" system_property_get: %s -> %s" , key, value);
34
+ // LOGI("system_property_get: %s -> %s", key, value);
35
35
} else if (strcmp (" ro.miui.version.code_time" , key) == 0 ) {
36
36
strcpy (value, " 1527550858" );
37
- LOGI (" system_property_get: %s -> %s" , key, value);
37
+ // LOGI("system_property_get: %s -> %s", key, value);
38
38
} else if (strcmp (" ro.miui.internal.storage" , key) == 0 ) {
39
39
strcpy (value, " /sdcard/" );
40
- LOGI (" system_property_get: %s -> %s" , key, value);
40
+ // LOGI("system_property_get: %s -> %s", key, value);
41
41
} else if (strcmp (" ro.product.manufacturer" , key) == 0 ) {
42
42
strcpy (value, " Xiaomi" );
43
- LOGI (" system_property_get: %s -> %s" , key, value);
43
+ // LOGI("system_property_get: %s -> %s", key, value);
44
44
} else if (strcmp (" ro.product.brand" , key) == 0 ) {
45
45
strcpy (value, " Xiaomi" );
46
- LOGI (" system_property_get: %s -> %s" , key, value);
46
+ // LOGI("system_property_get: %s -> %s", key, value);
47
47
} else if (strcmp (" ro.product.name" , key) == 0 ) {
48
48
strcpy (value, " Xiaomi" );
49
- LOGI (" system_property_get: %s -> %s" , key, value);
49
+ // LOGI("system_property_get: %s -> %s", key, value);
50
50
}
51
51
52
52
}
@@ -58,25 +58,25 @@ NEW_FUNC_DEF(std::string, _ZN7android4base11GetPropertyERKNSt3__112basic_stringI
58
58
59
59
if (strcmp (" ro.miui.ui.version.name" , key.c_str ()) == 0 ) {
60
60
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());
62
62
} else if (strcmp (" ro.miui.ui.version.code" , key.c_str ()) == 0 ) {
63
63
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());
65
65
} else if (strcmp (" ro.miui.version.code_time" , key.c_str ()) == 0 ) {
66
66
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());
68
68
} else if (strcmp (" ro.miui.internal.storage" , key.c_str ()) == 0 ) {
69
69
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());
71
71
} else if (strcmp (" ro.product.manufacturer" , key.c_str ()) == 0 ) {
72
72
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());
74
74
} else if (strcmp (" ro.product.brand" , key.c_str ()) == 0 ) {
75
75
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());
77
77
} else if (strcmp (" ro.product.name" , key.c_str ()) == 0 ) {
78
78
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());
80
80
}
81
81
return res;
82
82
}
0 commit comments