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

Skip to content
Commit 2614f026 authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Reset screenshot timeout immediately

We were only resetting the timeout after the animation finished, meaning
that if a second screenshot was invoked toward the end of the timeout
period, the old timeout could fire (immediately dismissing the
screenshot UI) even though there was a new screenshot visible.

This switches to resetting the timeout as soon as we get the new
screenshot.

Bug: 360043261
Fix: 360043261
Test: ensure that the screenshot UI doesn't time out if there's a second
screenshot, even if it's invoked at the end of the timeout period
Flag: EXEMPT trivial change

Change-Id: I5aee655880fcd0693ef45b18ae09be9c4c4d0d52
parent 20f915ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment