diff options
Diffstat (limited to 'services/surfaceflinger/EventThread.cpp')
-rw-r--r-- | services/surfaceflinger/EventThread.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/services/surfaceflinger/EventThread.cpp b/services/surfaceflinger/EventThread.cpp index 486bce4930..463e60c08b 100644 --- a/services/surfaceflinger/EventThread.cpp +++ b/services/surfaceflinger/EventThread.cpp @@ -403,12 +403,14 @@ void EventThread::Connection::onFirstRef() { mEventThread->registerDisplayEventConnection(this); } -sp<BitTube> EventThread::Connection::getDataChannel() const { - return mChannel; +status_t EventThread::Connection::getDataChannel(sp<BitTube>* outChannel) const { + *outChannel = mChannel; + return NO_ERROR; } -void EventThread::Connection::setVsyncRate(uint32_t count) { +status_t EventThread::Connection::setVsyncRate(uint32_t count) { mEventThread->setVsyncRate(count, this); + return NO_ERROR; } void EventThread::Connection::requestNextVsync() { |