altosdroid: Add State constants for future usage
authorMike Beattie <mike@ethernal.org>
Sun, 26 Aug 2012 03:28:36 +0000 (15:28 +1200)
committerMike Beattie <mike@ethernal.org>
Sun, 26 Aug 2012 03:28:36 +0000 (15:28 +1200)
Signed-off-by: Mike Beattie <mike@ethernal.org>
altosdroid/src/org/altusmetrum/AltosDroid/TelemetryService.java

index 337aece1a5004377889d93cef82773fb216a958f..9059ca7950f599360910f267c867cd231448d378 100644 (file)
@@ -49,6 +49,11 @@ public class TelemetryService extends Service {
        static final int MSG_UNREGISTER_CLIENT = 2;
        static final int MSG_CONNECT_TELEBT    = 3;
 
+       public static final int STATE_NONE       = 0;
+       public static final int STATE_READY      = 1;
+       public static final int STATE_CONNECTING = 2;
+       public static final int STATE_CONNECTED  = 3;
+
        // Unique Identification Number for the Notification.
        // We use it on Notification start, and to cancel it.
        private int NOTIFICATION = R.string.telemetry_service_label;