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

Commit 2c410e0d authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Fix build

am: aaef0983

Change-Id: I087952f069da1ba624bef32d1ac913a242533321
parents d5ebce91 aaef0983
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();
    }
}

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