Merge "ConsumerBase: make fence names meaningful" into jb-mr1-dev

This commit is contained in:
Jamie Gennis 2012-09-24 13:36:55 -07:00 committed by Android (Google) Code Review
commit ff5c4aa676

View File

@ -199,7 +199,7 @@ status_t ConsumerBase::addReleaseFence(int slot, const sp<Fence>& fence) {
mSlots[slot].mFence = fence; mSlots[slot].mFence = fence;
} else { } else {
sp<Fence> mergedFence = Fence::merge( sp<Fence> mergedFence = Fence::merge(
String8("ConsumerBase merged release"), String8::format("%.28s:%d", mName.string(), slot),
mSlots[slot].mFence, fence); mSlots[slot].mFence, fence);
if (!mergedFence.get()) { if (!mergedFence.get()) {
CB_LOGE("failed to merge release fences"); CB_LOGE("failed to merge release fences");