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

Commit 5a556bc7 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Fix build

am: aaef0983

Change-Id: Ia4d360cb942c43180d6077cd01bd9e9eb5b598d5
parents 5d37ae59 aaef0983
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -933,9 +933,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();
    }
}

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