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

Commit 8133efed authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

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

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

Change-Id: I3ba0461ee74a956ba87c87814bf37003621c5f9d
parents e4d5d3cd 3e9b0804
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();
}
}