summaryrefslogtreecommitdiff
path: root/same-android/src/main
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-27 11:51:02 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-27 11:51:02 +0100
commita8560de9c330285db0d7cf31398daad1090038b4 (patch)
treef199e127f1c32ce9dfb0494d757d633ed6c520a5 /same-android/src/main
parent8672b318c3dc8b7e0cac47014e5bbb3527d0db87 (diff)
Add TODOs in SameService.
Diffstat (limited to 'same-android/src/main')
-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 {