hwc: Fix warning messages.
Fix warning messages for hwc and copybit.
Change-Id: I36360720383b482578fa6d2e21f19fe937f8610b
diff --git a/libhwcomposer/hwc_qclient.cpp b/libhwcomposer/hwc_qclient.cpp
index fd0a36c..ab3c8c5 100644
--- a/libhwcomposer/hwc_qclient.cpp
+++ b/libhwcomposer/hwc_qclient.cpp
@@ -184,7 +184,7 @@
handle_resume(ctx, dpy);
}
} else {
- ALOGE("%s: Invalid dpy", __FUNCTION__, dpy);
+ ALOGE("%s: Invalid dpy %d", __FUNCTION__, dpy);
return;
}
}
diff --git a/libhwcomposer/hwc_vsync.cpp b/libhwcomposer/hwc_vsync.cpp
index 7b97c6c..722916a 100644
--- a/libhwcomposer/hwc_vsync.cpp
+++ b/libhwcomposer/hwc_vsync.cpp
@@ -88,9 +88,10 @@
thermalLevel = strtoull(data + strlen("thermal_level="), NULL, 0);
}
- if (thermalLevel >= MAX_THERMAL_LEVEL)
+ if (thermalLevel >= MAX_THERMAL_LEVEL) {
+ ALOGD("%s: dpy:%d thermal_level=%"PRIu64"",__FUNCTION__,dpy,thermalLevel);
ctx->mThermalBurstMode = true;
- else
+ } else
ctx->mThermalBurstMode = false;
}