Merge SendHttpMessageAsyncTask and PollServerAsyncTask
[fonbot.git] / src / ro / ieval / fonbot / FonBotApplication.java
index be774ce6b15d8367801c850f0a514184efc3044f..af5a70c2ac69c236d22c5a4351bf38f6277f687b 100644 (file)
@@ -48,7 +48,7 @@ public final class FonBotApplication extends Application {
                final TelephonyManager tman=(TelephonyManager) getSystemService(TELEPHONY_SERVICE);
                tman.listen(new FonBotPhoneStateListener(this), PhoneStateListener.LISTEN_CALL_STATE);
 
-               new PollServerAsyncTask(this).execute();
+               Utils.pollServer(this);
 
                startService(new Intent(this, FonBotMainService.class));
 
This page took 0.00949 seconds and 4 git commands to generate.