Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
force please wait message to clear before doing PDDB init
While it's a kind of neat effect to have the "please wait" message persist right up until the point where the dialog box pops up, the problem is that the blit of the backplane captures that, so when the context is reverted that message is still there. On a very fast mount (empty PDDB under Renode emulation) the mounting call finishes so quickly that the dialog box that would normally trigger the redraw to clear this message never renders. This patch forces the screen to blank before trying to call PDDB init, ensuring that we don't have that persist after the mount, even if it is very fast. The downside is there is a fraction of a second where the please wait disappears, and the dialog box pops up. That is just the time it takes for the system to setup for the cryptographic operations.
- Loading branch information