Change-Id: I4e21ff8ea76cfafce943dc059c8f72b42397980e
}
sp<NativeHandle> stream;
if (reply.readInt32()) {
- stream = NativeHandle::create(reply.readNativeHandle());
+ stream = NativeHandle::create(reply.readNativeHandle(), true);
}
return stream;
}
CHECK_INTERFACE(IGraphicBufferProducer, data, reply);
sp<NativeHandle> stream;
if (data.readInt32()) {
- stream = NativeHandle::create(data.readNativeHandle());
+ stream = NativeHandle::create(data.readNativeHandle(), true);
}
status_t result = setSidebandStream(stream);
reply->writeInt32(result);