From 50ed1a786500ff28d5935b8b0d52c03aeddf8b33 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 19 Dec 2012 15:46:22 -0800 Subject: [PATCH] Version bump and upgrade message --- astrid/AndroidManifest.xml | 4 ++-- .../com/todoroo/astrid/service/UpgradeService.java | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/astrid/AndroidManifest.xml b/astrid/AndroidManifest.xml index b7658362e..94d5cd719 100644 --- a/astrid/AndroidManifest.xml +++ b/astrid/AndroidManifest.xml @@ -6,8 +6,8 @@ --> + android:versionName="4.5.0" + android:versionCode="291"> diff --git a/astrid/src/com/todoroo/astrid/service/UpgradeService.java b/astrid/src/com/todoroo/astrid/service/UpgradeService.java index 3f9117b09..977a5fcb6 100644 --- a/astrid/src/com/todoroo/astrid/service/UpgradeService.java +++ b/astrid/src/com/todoroo/astrid/service/UpgradeService.java @@ -50,6 +50,7 @@ import com.todoroo.astrid.utility.Constants; public final class UpgradeService { + public static final int V4_5_0 = 291; public static final int V4_4_4_1 = 290; public static final int V4_4_4 = 289; public static final int V4_4_3 = 288; @@ -268,6 +269,17 @@ public final class UpgradeService { Preferences.clear(AstridPreferences.P_UPGRADE_FROM); StringBuilder changeLog = new StringBuilder(); + if (from < V4_5_0) { + newVersionString(changeLog, "4.5.0 (12/19/12)", new String[] { + "Several interface and usability enhancements", + "Fixed Power Pack display bug affecting certain phones", + "Better organized preferences", + "New 'Sky Blue' theme", + "'Lite mode' preference defaults available in Settings > Appearance > Set configuration", + "Minor bug and crash fixes" + }); + } + if (from >= V4_4_4 && from < V4_4_4_1) { newVersionString(changeLog, "4.4.4.1 (12/13/12)", new String[] { "Crash fixes"