From 05e569e003d9b0712c20d1a2772f5d9bedd3fcdc Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 29 Feb 2012 12:56:36 -0800 Subject: [PATCH] Version bump and upgrade message --- astrid/AndroidManifest.xml | 4 ++-- .../com/todoroo/astrid/service/UpgradeService.java | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/astrid/AndroidManifest.xml b/astrid/AndroidManifest.xml index 87b1dfda7..99c49c09d 100644 --- a/astrid/AndroidManifest.xml +++ b/astrid/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionName="4.0.2" + android:versionCode="253"> diff --git a/astrid/src/com/todoroo/astrid/service/UpgradeService.java b/astrid/src/com/todoroo/astrid/service/UpgradeService.java index 19457c64e..56127dac9 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_2 = 253; public static final int V4_0_1 = 252; public static final int V4_0_0 = 251; public static final int V3_9_2_3 = 210; @@ -176,6 +177,16 @@ public final class UpgradeService { Preferences.clear(AstridPreferences.P_UPGRADE_FROM); StringBuilder changeLog = new StringBuilder(); + if (from >= V4_0_0 && from < V4_0_2) { + newVersionString(changeLog, "4.0.2 (2/29/12)", new String[] { + "Removed GPS permission--no longer needed", + "Fixes for some subtasks issues", + "No longer need to run the Crittercism service in the background", + "Fixed a crash that could occur when cloning tasks", + "Fixed a bug that prevented certain comments from syncing correctly", + }); + } + if (from >= V4_0_0 && from < V4_0_1) { newVersionString(changeLog, "4.0.1 (2/23/12)", new String[] { "Fixed a database issue affecting Android 2.1 users",