Skip to content

Commit c7b1139

Browse files
committed
trim stdoutput to remove eol char
1 parent 7c1542e commit c7b1139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/processing/mode/android/EmulatorController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public void run() {
145145
//System.out.println("done sleeping");
146146
ProcessResult result = sdk.runADB("-s", "emulator-" + portString,
147147
"shell", "getprop", "dev.bootcomplete");
148-
if (result.getStdout().equals("1\n")) {
148+
if (result.getStdout().trim().equals("1")) {
149149
setState(State.RUNNING);
150150
return;
151151
}

0 commit comments

Comments
 (0)