Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aaef0983 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix build

Test: builds
Bug: 36631902
Change-Id: Iec23f8ab2b16c923f07d1857aa3471cfefc057dd
parent b1e2f8de
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -932,9 +932,14 @@ status_t SurfaceFlinger::injectVSync(nsecs_t when) {

// ----------------------------------------------------------------------------

sp<IDisplayEventConnection> SurfaceFlinger::createDisplayEventConnection() {
sp<IDisplayEventConnection> SurfaceFlinger::createDisplayEventConnection(
        ISurfaceComposer::VsyncSource vsyncSource) {
    if (vsyncSource == eVsyncSourceSurfaceFlinger) {
        return mSFEventThread->createEventConnection();
    } else {
        return mEventThread->createEventConnection();
    }
}

// ----------------------------------------------------------------------------