From 8a5c59db2ec518ef0827b193ebc4df39f5a896be Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Thu, 3 May 2012 17:48:04 -0700 Subject: [PATCH] Version bump and upgrade message for the version that WILL include missed call fielding --- astrid/AndroidManifest.xml | 4 ++-- .../src/com/todoroo/astrid/service/UpgradeService.java | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/astrid/AndroidManifest.xml b/astrid/AndroidManifest.xml index c68fa93a1..8899ca025 100644 --- a/astrid/AndroidManifest.xml +++ b/astrid/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionName="4.1.1" + android:versionCode="266"> diff --git a/astrid/src/com/todoroo/astrid/service/UpgradeService.java b/astrid/src/com/todoroo/astrid/service/UpgradeService.java index cbd745b83..cd015d28c 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_1 = 266; public static final int V4_1_0 = 265; public static final int V4_0_6_2 = 264; public static final int V4_0_6_1 = 263; @@ -199,12 +200,17 @@ public final class UpgradeService { Preferences.clear(AstridPreferences.P_UPGRADE_FROM); StringBuilder changeLog = new StringBuilder(); + if (from < V4_1_1) { + 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.", + }); + } + if (from < V4_1_0) { newVersionString(changeLog, "4.1.0 (5/03/12)", new String[] { "Swipe between lists! Swipe left and right to move through your lists. Enable or adjust " + "in Settings > Astrid Labs", - "Respond to or set reminders for missed calls. This feature requires a new permission to read " + - "the phone state.", "Assign tasks to contacts without typing", "Links to tasks in comments", "Astrid.com sync improvements",