Version bump and upgrade message

pull/14/head
Sam Bosley 12 years ago
parent a309e55910
commit 1370a75a35

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.timsu.astrid"
android:versionName="4.0.4.1"
android:versionCode="257">
android:versionName="4.0.4.2"
android:versionCode="258">
<!-- widgets, alarms, and services will break if Astrid is installed on SD card -->
<!-- android:installLocation="internalOnly"> -->

@ -40,6 +40,7 @@ import com.todoroo.astrid.utility.AstridPreferences;
public final class UpgradeService {
public static final int V4_0_4_2 = 258;
public static final int V4_0_4_1 = 257;
public static final int V4_0_4 = 256;
public static final int V4_0_3 = 255;
@ -181,6 +182,12 @@ public final class UpgradeService {
Preferences.clear(AstridPreferences.P_UPGRADE_FROM);
StringBuilder changeLog = new StringBuilder();
if (from >= V4_0_4 && from < V4_0_4_2) {
newVersionString(changeLog, "4.0.4.2 (3/16/15)", new String[] {
"Fixed a crash related to error reporting"
});
}
if (from >= V4_0_4 && from < V4_0_4_1) {
newVersionString(changeLog, "4.0.4.1 (3/15/12)", new String[] {
"Updated 2x2 widget to look better and conform to new style",
@ -188,7 +195,7 @@ public final class UpgradeService {
"Added Search to Menu and moved some items to settings"
});
}
if (from >= V4_0_0 && from < V4_0_4) {
newVersionString(changeLog, "4.0.4 (3/7/12)", new String[] {
"Fixed crashes related to error reporting",

Loading…
Cancel
Save