Skip to content

Commit c4d4f64

Browse files
committed
deactivate run button
1 parent e7b2b42 commit c4d4f64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/processing/mode/android/AndroidMode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public void handleRunEmulator(Sketch sketch, RunnerListener listener) throws Ske
270270

271271

272272
public void handleRunDevice(Sketch sketch, RunnerListener listener)
273-
throws SketchException, IOException {
273+
throws SketchException, IOException {
274274

275275
final Devices devices = Devices.getInstance();
276276
java.util.List<Device> deviceList = devices.findMultiple(false);
@@ -280,7 +280,7 @@ public void handleRunDevice(Sketch sketch, RunnerListener listener)
280280
"your sketch on. Make sure that your handheld or\n" +
281281
"wearable is properly connected to the computer\n" +
282282
"and that USB or Bluetooth debugging is enabled.");
283-
listener.statusHalt();
283+
listener.statusError("No devices found.");
284284
return;
285285
}
286286

0 commit comments

Comments
 (0)