commit | 11611f9be590480d7ea27bf0153558573ddcded2 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Thu Mar 12 15:12:44 2015 -0700 |
committer | Dan Stoza <stoza@google.com> | Thu Mar 19 13:59:12 2015 -0700 |
tree | 3a2f8e42db6d2a526ae5d5a96fab1e19be0de210 | |
parent | cf3834db104e0b052056e3a06d46e3f222f0d372 [diff] [blame] |
DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem Switches all uses of IGraphicBufferConsumer::BufferItem (and BufferQueue::BufferItem) to the BufferItem in libgui. Depends on frameworks/native I699ed0a6837076867ca756b28d1ffb2238f7a0d9. Cherry pick of I187b3a7d05196b6289596afac8fb9a9d4aebff76 Change-Id: I5bc79fb96b6cba6021af64b20890967aa3b7fcbf
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index cf27945..2ac4765 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp
@@ -1130,7 +1130,7 @@ } virtual bool reject(const sp<GraphicBuffer>& buf, - const IGraphicBufferConsumer::BufferItem& item) { + const BufferItem& item) { if (buf == NULL) { return false; }