From 7aff4a5de47bf32b0934f5744cd1df4ce666d2d2 Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Mon, 24 Sep 2012 12:25:15 -0700 Subject: [PATCH] ConsumerBase: make fence names meaningful Change-Id: I3580120cb63c027c327e80ec70e68650b75395de --- libs/gui/ConsumerBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gui/ConsumerBase.cpp b/libs/gui/ConsumerBase.cpp index fd2d1ccc1..f5d6ff031 100644 --- a/libs/gui/ConsumerBase.cpp +++ b/libs/gui/ConsumerBase.cpp @@ -199,7 +199,7 @@ status_t ConsumerBase::addReleaseFence(int slot, const sp& fence) { mSlots[slot].mFence = fence; } else { sp mergedFence = Fence::merge( - String8("ConsumerBase merged release"), + String8::format("%.28s:%d", mName.string(), slot), mSlots[slot].mFence, fence); if (!mergedFence.get()) { CB_LOGE("failed to merge release fences");