28 takes too long

added a feature that asks the user (via an alert dialog) if they want to continue the test after the test has been running for more than 10 seconds
Here, you should pass your time(s) to onProgressUpdate:  `(System.currentTimeMillis() - timeSinceLastDialog > timeOutConstant)` and calculate the difference when the progress is updated. It's not good style to pass an args[] of a Void type around.