diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp index b628a15f8..95f408426 100644 --- a/libs/gui/Surface.cpp +++ b/libs/gui/Surface.cpp @@ -86,6 +86,10 @@ sp Surface::getIGraphicBufferProducer() const { return mGraphicBufferProducer; } +void Surface::setSidebandStream(const sp& stream) { + mGraphicBufferProducer->setSidebandStream(stream); +} + int Surface::hook_setSwapInterval(ANativeWindow* window, int interval) { Surface* c = getSelf(window); return c->setSwapInterval(interval);