From: kenstir Date: Sat, 14 Nov 2015 21:17:42 +0000 (-0500) Subject: Interestingly, you can sign in before downloading the IDL. This will make implemting... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d9d932e5ba68a5a3a8b403af1cd35e551cbf825e;p=working%2FEvergreen.git Interestingly, you can sign in before downloading the IDL. This will make implemting the generic AuthenticatorActivity easier. --- diff --git a/Open-ILS/src/Android/core/src/org/evergreen_ils/views/splashscreen/LoadingTask.java b/Open-ILS/src/Android/core/src/org/evergreen_ils/views/splashscreen/LoadingTask.java index ab4982fa87..c728ba82b1 100644 --- a/Open-ILS/src/Android/core/src/org/evergreen_ils/views/splashscreen/LoadingTask.java +++ b/Open-ILS/src/Android/core/src/org/evergreen_ils/views/splashscreen/LoadingTask.java @@ -94,10 +94,6 @@ public class LoadingTask { final String accountType = mCallingActivity.getString(R.string.ou_account_type); Log.d(TAG, tag); try { - Log.d(TAG, tag+"Loading resources"); - publishProgress("Loading resources"); - GlobalConfigs.getGlobalConfigs(mCallingActivity); // loads IDL - Log.d(TAG, tag+"Signing in"); publishProgress("Signing in"); @@ -110,6 +106,10 @@ public class LoadingTask { if (account_name == null) return "no account"; + Log.d(TAG, tag+"Loading resources"); + publishProgress("Loading resources"); + GlobalConfigs.getGlobalConfigs(mCallingActivity); // loads IDL + Log.d(TAG, tag+"Starting session"); publishProgress("Starting session"); AccountAccess ac = AccountAccess.getAccountAccess(GlobalConfigs.httpAddress);