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

Skip to content
Unverified Commit 4f1daae4 authored by LibXZR's avatar LibXZR Committed by Michael Bestas
Browse files

Launcher3: Do not attach cleanupScreenshot() to frame update event



When the animation get canceled, cleanupScreenshot() should
be run instantly because it does something like removing
pending animations. The switchToScreenshot() attaches it to
RtFrameCallback which only be called on frame update. This
is leading to problems as the next frame update may only
happened when the next gesture starts, which means all the
pending animations will be removed on next gesture. And then
the next gesture freezed.

Fixes randomly gesture freeze since 12L.

Change-Id: I10247294a2dcae467706c434685b299f8b525888
Signed-off-by: default avatarLibXZR <i@xzr.moe>
parent fd2a6762
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment