Bug 535686 - allow tests to process UI events while waiting on condition

If the test waits for some event to arrive *on the UI thread*, it blocks
UI event dispatching and may also block debug events. To avoid this, we
can simply allow tests to process UI event queue while waiting.

Change-Id: Ib1c3b9c02b6af138644a6a60978a3b1fca267ca9
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2 files changed