Commit 070ac738 authored by Jeffrey I. Schiller's avatar Jeffrey I. Schiller

Increase the timeout for the WiFi dialog. It should now wait for about

a minute for the phone to rendezvous with the Blocks Editor.

Change-Id: I73b2fe3ef10ba0dabbf97e323f7ed9ffa0d4e9ce
parent 5774165c
......@@ -479,7 +479,7 @@ public class DeviceReplCommController implements AndroidController.DeviceConnect
String jsonString = fetchJsonString(code);
int count = 0;
while (jsonString == null) {
if (count++ > 20) { // This limits this loop to 20 seconds or so
if (count++ > 56) { // This limits this loop to about a minute (4 seconds wait above and 56 seconds round the loop)
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
displayedCode.setVisible(false); // Take down pending message
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment