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

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

Fix build am: aaef0983

am: 5a556bc7

Change-Id: I59426f537ebe484b865a3b424e7e56608fa14112
parents 879089b3 5a556bc7
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();
    }
}

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