From d43a64c522b6734abc69c8dfdd30bdfc80075b52 Mon Sep 17 00:00:00 2001 From: Tim Su Date: Tue, 6 Mar 2012 16:06:24 -0800 Subject: [PATCH] Updated upgrade message + version bump --- astrid/AndroidManifest.xml | 4 ++-- .../astrid/service/UpgradeService.java | 23 ++++++++++++++----- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/astrid/AndroidManifest.xml b/astrid/AndroidManifest.xml index b5d6d17c2..c3a3d95fd 100644 --- a/astrid/AndroidManifest.xml +++ b/astrid/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionName="4.0.3" + android:versionCode="255"> diff --git a/astrid/src/com/todoroo/astrid/service/UpgradeService.java b/astrid/src/com/todoroo/astrid/service/UpgradeService.java index cd63a8462..2e06b6f5b 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_3 = 254; public static final int V4_0_2 = 253; public static final int V4_0_1 = 252; public static final int V4_0_0 = 251; @@ -177,14 +178,24 @@ public final class UpgradeService { Preferences.clear(AstridPreferences.P_UPGRADE_FROM); StringBuilder changeLog = new StringBuilder(); + if (from >= V4_0_0 && from < V4_0_3) { + newVersionString(changeLog, "4.0.3 (3/6/12)", new String[] { + "Fix some issues with Google Tasks sync. We're sorry to " + + "everyone who's been having trouble with it!", + "Updated translations for Portuguese, Chinese, German, Russian, and Dutch", + "Centralize Android's menu key with in-app navigation", + "Fixed crashes & improve crash logging", + }); + } + 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", - "Fixed issues where voice add wouldn't work correctly", + "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", + "Fixed issues where voice add wouldn't work correctly", }); }