From ab1ada80d59d546f15f6adba510e1656f8900f75 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Fri, 4 May 2012 21:26:03 -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 8899ca025..fa56190d6 100644 --- a/astrid/AndroidManifest.xml +++ b/astrid/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionName="4.1.2" + android:versionCode="267"> diff --git a/astrid/src/com/todoroo/astrid/service/UpgradeService.java b/astrid/src/com/todoroo/astrid/service/UpgradeService.java index cd015d28c..ef6c61579 100644 --- a/astrid/src/com/todoroo/astrid/service/UpgradeService.java +++ b/astrid/src/com/todoroo/astrid/service/UpgradeService.java @@ -41,6 +41,7 @@ import com.todoroo.astrid.utility.AstridPreferences; public final class UpgradeService { + public static final int V4_1_2 = 267; public static final int V4_1_1 = 266; public static final int V4_1_0 = 265; public static final int V4_0_6_2 = 264; @@ -200,8 +201,14 @@ public final class UpgradeService { Preferences.clear(AstridPreferences.P_UPGRADE_FROM); StringBuilder changeLog = new StringBuilder(); + if (from >= V4_1_1 && from < V4_1_2) { + newVersionString(changeLog, "4.1.2 (5/05/12)", new String[] { + "Fixed some crashes and minor bugs" + }); + } + if (from < V4_1_1) { - newVersionString(changeLog, "4.1.1 (5/04/12", new String[] { + newVersionString(changeLog, "4.1.1 (5/04/12)", new String[] { "Respond to or set reminders for missed calls. This feature requires a new permission to read " + "the phone state.", });