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

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

Fix build am: aaef0983

am: 2c410e0d

Change-Id: I10728186af370d9e47196eeda43dfeccc582bc74
parents 879089b3 2c410e0d
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();
    }
}

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