Skip to content

Commit 325dab8

Browse files
committed
use a new attribute name for default port
1 parent dd7e182 commit 325dab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/processing/mode/android/EmulatorController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ synchronized public void launch(boolean wear, boolean gpu) throws IOException {
7474
Preferences.set("android.emulator.wear.port", portString);
7575
}
7676
} else {
77-
portString = Preferences.get("android.emulator.port");
77+
portString = Preferences.get("android.emulator.default.port");
7878
if (portString == null) {
7979
portString = DEFAULT_PORT;
80-
Preferences.set("android.emulator.port", portString);
80+
Preferences.set("android.emulator.default.port", portString);
8181
}
8282
}
8383

0 commit comments

Comments
 (0)