summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--same-android/src/main/java/com/orbekk/same/SameService.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/same-android/src/main/java/com/orbekk/same/SameService.java b/same-android/src/main/java/com/orbekk/same/SameService.java
index 9662d6f..66406bd 100644
--- a/same-android/src/main/java/com/orbekk/same/SameService.java
+++ b/same-android/src/main/java/com/orbekk/same/SameService.java
@@ -31,6 +31,7 @@ public class SameService extends Service {
public final static int REMOVE_STATE_RECEIVER = 7;
public final static int SET_STATE = 8;
+ // TODO: Remove these and use messengers instead of broadcast intents.
public final static String AVAILABLE_NETWORKS_UPDATE =
"com.orbekk.same.SameService.action.AVAILABLE_NETWORKS_UPDATE";
public final static String AVAILABLE_NETWORKS =
@@ -112,7 +113,8 @@ public class SameService extends Service {
stateReceivers.remove(droppedMessenger);
break;
case SET_STATE:
- // TODO: Respond to the callee somehow.
+ // TODO: We may get errors here and we need to inform the
+ // caller. Perhaps combine with some sort of callback.
State.Component updatedComponent =
(State.Component)message.obj;
try {