import org.threeten.bp.LocalDateTime;
import org.threeten.bp.ZoneId;
+import java.util.Observable;
+
public class WorkService extends Service {
private static final String TAG = "WorkService";
private static final String TXT_ACTION = "action.ic.srvPushTxt";
private static final String TYPE_KEY = "msgType";
private static final String MSG_KEY = "txtMsg";
-
- private WeatherProcess weatherProcess;
private BloodProcess bloodProcess;
private PedProcess pedProcess;
private TempProcess tempProcess;
+
+ private WeatherProcess weatherProcess;
private AkProcess akProcess;
private WeatherHelper mWeatherHelper;
}
switch (acyion) {
case GET_PED_ACTION:
- ThreadPoolManager.getInstance().execute(new PedRunnable(mApp.getApplicationContext(), mApp.getRepository()));
+ //ThreadPoolManager.getInstance().execute(new PedRunnable(mApp.getApplicationContext(), mApp.getRepository()));
+ new Thread(new PedRunnable(mApp.getApplicationContext(), mApp.getRepository())).start();
break;
case Intent.ACTION_TIMEZONE_CHANGED:
mWeatherHelper.startLocation(getApplicationContext());