am d581b1a8: am ddac83a5: Fix extended logging for object dumping.
Merge commit 'd581b1a8c6103b55d2e13318e9c35103b8689810' into eclair-mr2-plus-aosp
* commit 'd581b1a8c6103b55d2e13318e9c35103b8689810':
Fix extended logging for object dumping.
diff --git a/rsObjectBase.cpp b/rsObjectBase.cpp
index 05791cb..89c5b00 100644
--- a/rsObjectBase.cpp
+++ b/rsObjectBase.cpp
@@ -182,23 +182,17 @@
if (rsc->props.mLogObjects) {
LOGV("Objects remaining.");
- o = rsc->mObjHead;
- while (o) {
- o->dumpLOGV(" ");
- o = o->mNext;
- }
+ dumpAll(rsc);
}
}
void ObjectBase::dumpAll(Context *rsc)
{
- if (rsc->props.mLogObjects) {
- LOGV("Dumping all objects");
- const ObjectBase * o = rsc->mObjHead;
- while (o) {
- o->dumpLOGV(" ");
- o = o->mNext;
- }
+ LOGV("Dumping all objects");
+ const ObjectBase * o = rsc->mObjHead;
+ while (o) {
+ o->dumpLOGV(" ");
+ o = o->mNext;
}
}