From c2d949d34cc75b8c1a00f0ca9c2419d24b8032e0 Mon Sep 17 00:00:00 2001 From: Naseer Ahmed Date: Tue, 27 Aug 2013 11:41:25 -0400 Subject: [PATCH] hwc: Change log message for AD feature If the AD node is not present in the kernel, make the log sound less fatal and change it to a debug log. Change-Id: I14adf2df6375d4a2aa012842bda51faf7870ffa5 --- libhwcomposer/hwc_ad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhwcomposer/hwc_ad.cpp b/libhwcomposer/hwc_ad.cpp index 9ac8958f..34c241da 100644 --- a/libhwcomposer/hwc_ad.cpp +++ b/libhwcomposer/hwc_ad.cpp @@ -118,7 +118,7 @@ static int adRead() { } close(adFd); } else { - ALOGE("%s: Failed to open /sys/class/graphics/fb%d/ad with error %s", + ALOGD("%s: /sys/class/graphics/fb%d/ad could not be opened : %s", __func__, wbFbNum, strerror(errno)); } return ret;