Version bump and upgrade message

pull/14/head
Sam Bosley 12 years ago
parent 0408ef6337
commit aedc07435f

@ -6,8 +6,8 @@
--> -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.timsu.astrid" package="com.timsu.astrid"
android:versionName="4.6.0" android:versionName="4.6.1"
android:versionCode="301"> android:versionCode="302">
<!-- widgets, alarms, and services will break if Astrid is installed on SD card --> <!-- widgets, alarms, and services will break if Astrid is installed on SD card -->
<!-- android:installLocation="internalOnly"> --> <!-- android:installLocation="internalOnly"> -->

@ -44,6 +44,7 @@ import com.todoroo.astrid.utility.Constants;
public final class UpgradeService { public final class UpgradeService {
public static final int V4_6_1 = 302;
public static final int V4_6_0 = 301; public static final int V4_6_0 = 301;
public static final int V4_6_0_BETA = 300; public static final int V4_6_0_BETA = 300;
public static final int V4_5_3 = 294; public static final int V4_5_3 = 294;
@ -295,6 +296,14 @@ public final class UpgradeService {
Preferences.clear(AstridPreferences.P_UPGRADE_FROM); Preferences.clear(AstridPreferences.P_UPGRADE_FROM);
StringBuilder changeLog = new StringBuilder(); StringBuilder changeLog = new StringBuilder();
if (from >= V4_6_0 && from < V4_6_1) {
newVersionString(changeLog, "4.6.1 (4/04/13)", new String[] {
"Improved design for the task edit page",
"Fixed issues with Facebook login",
"Several crash fixes"
});
}
if (from < V4_6_0) { if (from < V4_6_0) {
newVersionString(changeLog, "4.6.0 (4/02/13)", new String[] { newVersionString(changeLog, "4.6.0 (4/02/13)", new String[] {
"4.6 is a big step towards FLAWLESS sync with Astrid.com! This update also includes numerous bug fixes and UI improvements. " + "4.6 is a big step towards FLAWLESS sync with Astrid.com! This update also includes numerous bug fixes and UI improvements. " +

Loading…
Cancel
Save