From 1370a75a352689fa496b23131b1fcf5c4bba5911 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Fri, 16 Mar 2012 16:42:54 -0700 Subject: [PATCH] Version bump and upgrade message --- astrid/AndroidManifest.xml | 4 ++-- .../src/com/todoroo/astrid/service/UpgradeService.java | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/astrid/AndroidManifest.xml b/astrid/AndroidManifest.xml index 481c5ab15..87f399940 100644 --- a/astrid/AndroidManifest.xml +++ b/astrid/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionName="4.0.4.2" + android:versionCode="258"> diff --git a/astrid/src/com/todoroo/astrid/service/UpgradeService.java b/astrid/src/com/todoroo/astrid/service/UpgradeService.java index fde01e73c..6c5777bac 100644 --- a/astrid/src/com/todoroo/astrid/service/UpgradeService.java +++ b/astrid/src/com/todoroo/astrid/service/UpgradeService.java @@ -40,6 +40,7 @@ import com.todoroo.astrid.utility.AstridPreferences; public final class UpgradeService { + public static final int V4_0_4_2 = 258; public static final int V4_0_4_1 = 257; public static final int V4_0_4 = 256; public static final int V4_0_3 = 255; @@ -181,6 +182,12 @@ public final class UpgradeService { Preferences.clear(AstridPreferences.P_UPGRADE_FROM); StringBuilder changeLog = new StringBuilder(); + if (from >= V4_0_4 && from < V4_0_4_2) { + newVersionString(changeLog, "4.0.4.2 (3/16/15)", new String[] { + "Fixed a crash related to error reporting" + }); + } + if (from >= V4_0_4 && from < V4_0_4_1) { newVersionString(changeLog, "4.0.4.1 (3/15/12)", new String[] { "Updated 2x2 widget to look better and conform to new style", @@ -188,7 +195,7 @@ public final class UpgradeService { "Added Search to Menu and moved some items to settings" }); } - + if (from >= V4_0_0 && from < V4_0_4) { newVersionString(changeLog, "4.0.4 (3/7/12)", new String[] { "Fixed crashes related to error reporting",