Log only 1 line per process when using OpenGLRenderer.
Change-Id: Idbdd6b84f31301e58ed53e0d50fd61fece192dfa
diff --git a/libs/hwui/FboCache.cpp b/libs/hwui/FboCache.cpp
index 2ef71c2..beef7be 100644
--- a/libs/hwui/FboCache.cpp
+++ b/libs/hwui/FboCache.cpp
@@ -18,6 +18,7 @@
#include <stdlib.h>
+#include "Debug.h"
#include "FboCache.h"
#include "Properties.h"
@@ -31,10 +32,10 @@
FboCache::FboCache(): mMaxSize(DEFAULT_FBO_CACHE_SIZE) {
char property[PROPERTY_VALUE_MAX];
if (property_get(PROPERTY_FBO_CACHE_SIZE, property, NULL) > 0) {
- LOGD(" Setting fbo cache size to %s", property);
+ INIT_LOGD(" Setting fbo cache size to %s", property);
mMaxSize = atoi(property);
} else {
- LOGD(" Using default fbo cache size of %d", DEFAULT_FBO_CACHE_SIZE);
+ INIT_LOGD(" Using default fbo cache size of %d", DEFAULT_FBO_CACHE_SIZE);
}
}