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

Commit 89d10934 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Do not handle VSync event during resolution switch" am: 03e4e9d9 am: 661fcfbc

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1918376

Change-Id: If7ec8a47b1ee75dd59a4a37464c44d67e59e42b4
parents 2bf48fec 661fcfbc
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) {