|
@@ -107,7 +107,7 @@ public class SensorLoggerService extends Service {
|
107
|
107
|
String correction = "UNCLASSIFIED/NOTCORRECTED";
|
108
|
108
|
int classCount = 0;
|
109
|
109
|
int countdown = 10;
|
110
|
|
- int state = 0;
|
|
110
|
+ int state = 1;
|
111
|
111
|
|
112
|
112
|
public String getIMEI() {
|
113
|
113
|
return ((TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE)).getDeviceId();
|
|
@@ -152,7 +152,7 @@ public class SensorLoggerService extends Service {
|
152
|
152
|
|
153
|
153
|
void doSetState(final int newState) {
|
154
|
154
|
switch (newState) {
|
155
|
|
- case 1:
|
|
155
|
+ case 2:
|
156
|
156
|
countdown = 10;
|
157
|
157
|
|
158
|
158
|
handler.removeCallbacks(countdownTask);
|