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

Skip to content
Commit 49f52984 authored by Diogo Ferreira's avatar Diogo Ferreira Committed by Gerrit Code Review
Browse files

protected-apps: don't show a progress dialog for short operations

This code has been ported from a time where devices were much lower
end and currently the operation of writing protected apps state to
permanent storage is really fast. However, the progress dialog would
still flash for a few milliseconds but it is in fact useless since the
user cannot read it and will only see it flash.

This patch delays showing the dialog for 50ms which will ensure that
modern devices won't actually show it but slower devices will still
see it.

Change-Id: I43c347822d205bd930912ea5c03951e2abb9354d
parent 26fe05e0
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