try to login onResume if session_id is null

This commit is contained in:
Andrew Dolgov 2012-02-03 11:06:20 +03:00
parent 1433cba57f
commit 341ee10d63

View File

@ -689,6 +689,8 @@ public class MainActivity extends FragmentActivity implements OnlineServices {
m_refreshTimer = new Timer("Refresh"); m_refreshTimer = new Timer("Refresh");
m_refreshTimer.schedule(m_refreshTask, 60 * 1000L, 120 * 1000L); m_refreshTimer.schedule(m_refreshTask, 60 * 1000L, 120 * 1000L);
} else {
login();
} }
} }