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

Commit 03e4e9d9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Do not handle VSync event during resolution switch"

parents 5d9e175e 57fc3d60
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1960,7 +1960,10 @@ void SurfaceFlinger::onMessageInvalidate(int64_t vsyncId, nsecs_t expectedVSyncT
        // We received the present fence from the HWC, so we assume it successfully updated
        // the mode, hence we update SF.
        mSetActiveModePending = false;
        ON_MAIN_THREAD(setActiveModeInternal());
        {
            Mutex::Autolock lock(mStateLock);
            setActiveModeInternal();
        }
    }

    if (framePending) {