Add excessive logging for debug mode

This commit is contained in:
topjohnwu
2017-06-08 03:20:49 +08:00
parent f32ce7392e
commit 6c0ba66f17
9 changed files with 65 additions and 47 deletions

View File

@@ -138,6 +138,7 @@ static void read_prop_info(void* cookie, const char *name, const char *value, ui
char *getprop(const char *name) {
const prop_info *pi = __system_property_find2(name);
if (pi == NULL) {
PRINT_D("resetprop: failed to get [%s]\n", name);
return NULL;
}
char value[PROP_VALUE_MAX];