From 02ef005e2a3fd3cadc87da71356d9827003ac7e3 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Mon, 19 Sep 2011 15:07:59 -0700 Subject: [PATCH] Tweaked gtasks auth timeout and logging --- .../com/todoroo/astrid/gtasks/auth/GtasksLoginActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/gtasks/auth/GtasksLoginActivity.java b/astrid/plugin-src/com/todoroo/astrid/gtasks/auth/GtasksLoginActivity.java index d7eb04e4b..0311ae834 100644 --- a/astrid/plugin-src/com/todoroo/astrid/gtasks/auth/GtasksLoginActivity.java +++ b/astrid/plugin-src/com/todoroo/astrid/gtasks/auth/GtasksLoginActivity.java @@ -111,7 +111,7 @@ public class GtasksLoginActivity extends ListActivity { @Override public void run() { try { - Bundle bundle = future.getResult(60, TimeUnit.SECONDS); + Bundle bundle = future.getResult(30, TimeUnit.SECONDS); if (bundle.containsKey(AccountManager.KEY_INTENT)) { Intent i = (Intent) bundle.get(AccountManager.KEY_INTENT); startActivityForResult(i, REQUEST_AUTHENTICATE); @@ -120,6 +120,7 @@ public class GtasksLoginActivity extends ListActivity { onAuthTokenSuccess(); } } catch (Exception e) { + e.printStackTrace(); GtasksLoginActivity.this.runOnUiThread(new Runnable() { @Override public void run() {