summaryrefslogtreecommitdiffstats
path: root/libs/gui/IGraphicBufferConsumer.cpp
diff options
context:
space:
mode:
authorWonsik Kim <wonsik@google.com>2014-04-02 06:13:56 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-04-02 06:13:57 +0000
commit9cfa49c95445b968da3170b4fdb0b942af69569e (patch)
tree43b4218289484252da4c2aaaaecb147ab979c23d /libs/gui/IGraphicBufferConsumer.cpp
parent60a6337de07871d4d31c8870e5b5c589979d4149 (diff)
parent0ec54e156bed93d59900b742c8e9adcfaee90612 (diff)
downloadframeworks_native-9cfa49c95445b968da3170b4fdb0b942af69569e.zip
frameworks_native-9cfa49c95445b968da3170b4fdb0b942af69569e.tar.gz
frameworks_native-9cfa49c95445b968da3170b4fdb0b942af69569e.tar.bz2
Merge "Declare ownership of native_handle_t object"
Diffstat (limited to 'libs/gui/IGraphicBufferConsumer.cpp')
-rw-r--r--libs/gui/IGraphicBufferConsumer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/IGraphicBufferConsumer.cpp b/libs/gui/IGraphicBufferConsumer.cpp
index cdd06f3..1b19626 100644
--- a/libs/gui/IGraphicBufferConsumer.cpp
+++ b/libs/gui/IGraphicBufferConsumer.cpp
@@ -402,7 +402,7 @@ public:
}
sp<NativeHandle> stream;
if (reply.readInt32()) {
- stream = NativeHandle::create(reply.readNativeHandle());
+ stream = NativeHandle::create(reply.readNativeHandle(), true);
}
return stream;
}