summaryrefslogtreecommitdiff
path: root/same-android/src/main/java/com/orbekk/same/SameControllerActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'same-android/src/main/java/com/orbekk/same/SameControllerActivity.java')
-rw-r--r--same-android/src/main/java/com/orbekk/same/SameControllerActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/same-android/src/main/java/com/orbekk/same/SameControllerActivity.java b/same-android/src/main/java/com/orbekk/same/SameControllerActivity.java
index 59ec6e2..2fb0d25 100644
--- a/same-android/src/main/java/com/orbekk/same/SameControllerActivity.java
+++ b/same-android/src/main/java/com/orbekk/same/SameControllerActivity.java
@@ -106,8 +106,8 @@ public class SameControllerActivity extends Activity {
private void joinNetwork(String masterUrl) {
logger.info("joinNetwork({})", masterUrl);
- Message message = Message.obtain(null, SameService.JOIN_NETWORK,
- masterUrl);
+ Message message = Message.obtain(null, SameService.JOIN_NETWORK);
+ message.getData().putString("masterUrl", masterUrl);
try {
sameService.send(message);
} catch (RemoteException e) {