Skip to content

Commit 64cf1bc

Browse files
committed
add a delay before starting the device update task to avoid adb missing
error
1 parent 56bdaa2 commit 64cf1bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/processing/mode/android/AndroidEditor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public void actionPerformed(ActionEvent e) {
213213
// start updating device menus
214214
UpdateDeviceListTask task = new UpdateDeviceListTask(deviceMenu);
215215
Timer timer = new Timer();
216-
timer.schedule(task, 0, 5000);
216+
timer.schedule(task, 5000, 5000);
217217

218218
menu.addSeparator();
219219

0 commit comments

Comments
 (0)