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

Commit 3c520c1e authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "SurfaceFlinger: Ensure syncInputWindows is processed." into rvc-dev am: 14f49cd4

Change-Id: I00067ff58462e88077409d4181316a4f318a3621
parents de625eb7 14f49cd4
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -2808,7 +2808,7 @@ void SurfaceFlinger::updateInputWindowInfo() {
}
}


void SurfaceFlinger::commitInputWindowCommands() {
void SurfaceFlinger::commitInputWindowCommands() {
    mInputWindowCommands = mPendingInputWindowCommands;
    mInputWindowCommands.merge(mPendingInputWindowCommands);
    mPendingInputWindowCommands.clear();
    mPendingInputWindowCommands.clear();
}
}


@@ -5779,6 +5779,7 @@ void SurfaceFlinger::setInputWindowsFinished() {
    Mutex::Autolock _l(mStateLock);
    Mutex::Autolock _l(mStateLock);


    mPendingSyncInputWindows = false;
    mPendingSyncInputWindows = false;

    mTransactionCV.broadcast();
    mTransactionCV.broadcast();
}
}