diff --git a/Skrumaz/src/main/AndroidManifest.xml b/Skrumaz/src/main/AndroidManifest.xml index 3fc42dd..225c6de 100644 --- a/Skrumaz/src/main/AndroidManifest.xml +++ b/Skrumaz/src/main/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="101" + android:versionName="1.0.1" > diff --git a/Skrumaz/src/main/java/com/skrumaz/app/MainActivity.java b/Skrumaz/src/main/java/com/skrumaz/app/MainActivity.java index e5c643c..d13cf57 100644 --- a/Skrumaz/src/main/java/com/skrumaz/app/MainActivity.java +++ b/Skrumaz/src/main/java/com/skrumaz/app/MainActivity.java @@ -304,16 +304,28 @@ public void run() { switch (mFragmentAttached) { case TASKS: - Tasks tasksFragment = (Tasks) getFragmentManager().findFragmentById(R.id.content_frame); - tasksFragment.progressText.setText(processMsg); + try { + Tasks tasksFragment = (Tasks) getFragmentManager().findFragmentById(R.id.content_frame); + tasksFragment.progressText.setText(processMsg); + } catch (Exception ex) { + // Doesn't matter + } break; case ITERATIONS: - Iterations iterationsFragment = (Iterations) getFragmentManager().findFragmentById(R.id.content_frame); - iterationsFragment.progressText.setText(processMsg); + try { + Iterations iterationsFragment = (Iterations) getFragmentManager().findFragmentById(R.id.content_frame); + iterationsFragment.progressText.setText(processMsg); + } catch (Exception ex) { + // Doesn't matter + } break; case PROJECTS: - Projects projectsFragment = (Projects) getFragmentManager().findFragmentById(R.id.content_frame); - projectsFragment.progressText.setText(processMsg); + try { + Projects projectsFragment = (Projects) getFragmentManager().findFragmentById(R.id.content_frame); + projectsFragment.progressText.setText(processMsg); + } catch (Exception ex) { + // Doesn't matter + } break; } } @@ -323,19 +335,31 @@ public void run() { public void SetError(final String errorMsg) { switch (mFragmentAttached) { case TASKS: - Tasks tasksFragment = (Tasks) getFragmentManager().findFragmentById(R.id.content_frame); - tasksFragment.continueRequests = false; - tasksFragment.breakingError = errorMsg; + try { + Tasks tasksFragment = (Tasks) getFragmentManager().findFragmentById(R.id.content_frame); + tasksFragment.continueRequests = false; + tasksFragment.breakingError = errorMsg; + } catch (Exception ex) { + // Doesn't matter + } break; case ITERATIONS: - Tasks iterationsFragment = (Tasks) getFragmentManager().findFragmentById(R.id.content_frame); - iterationsFragment.continueRequests = false; - iterationsFragment.breakingError = errorMsg; + try { + Iterations iterationsFragment = (Iterations) getFragmentManager().findFragmentById(R.id.content_frame); + iterationsFragment.continueRequests = false; + iterationsFragment.breakingError = errorMsg; + } catch (Exception ex) { + // Doesn't matter + } break; case PROJECTS: - Tasks projectsFragment = (Tasks) getFragmentManager().findFragmentById(R.id.content_frame); - projectsFragment.continueRequests = false; - projectsFragment.breakingError = errorMsg; + try { + Projects projectsFragment = (Projects) getFragmentManager().findFragmentById(R.id.content_frame); + projectsFragment.continueRequests = false; + projectsFragment.breakingError = errorMsg; + } catch (Exception ex) { + // Doesn't matter + } break; } } diff --git a/Skrumaz/src/main/java/com/skrumaz/app/utils/ClientInfo.java b/Skrumaz/src/main/java/com/skrumaz/app/utils/ClientInfo.java index ea28fb1..a57207c 100644 --- a/Skrumaz/src/main/java/com/skrumaz/app/utils/ClientInfo.java +++ b/Skrumaz/src/main/java/com/skrumaz/app/utils/ClientInfo.java @@ -8,7 +8,7 @@ */ public class ClientInfo { - private static String appVersionName = "1.0.0"; + private static String appVersionName = "1.0.1"; public static HttpGet addHttpGetHeaders(HttpGet httpGet) { httpGet.setHeader("X-RallyIntegrationName", "Skrumaz");