From a8560de9c330285db0d7cf31398daad1090038b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Mon, 27 Feb 2012 11:51:02 +0100 Subject: Add TODOs in SameService. --- same-android/src/main/java/com/orbekk/same/SameService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'same-android/src/main/java') 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 { -- cgit v1.2.3