diff options
author | Wonsik Kim <wonsik@google.com> | 2014-04-02 06:13:56 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-04-02 06:13:57 +0000 |
commit | 9cfa49c95445b968da3170b4fdb0b942af69569e (patch) | |
tree | 43b4218289484252da4c2aaaaecb147ab979c23d /libs/gui/IGraphicBufferConsumer.cpp | |
parent | 60a6337de07871d4d31c8870e5b5c589979d4149 (diff) | |
parent | 0ec54e156bed93d59900b742c8e9adcfaee90612 (diff) | |
download | frameworks_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.cpp | 2 |
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; } |