|
|
|
|
@ -16,6 +16,7 @@ import com.todoroo.astrid.dao.Database;
|
|
|
|
|
|
|
|
|
|
public final class UpgradeService {
|
|
|
|
|
|
|
|
|
|
private static final int V3_2_4 = 151;
|
|
|
|
|
private static final int V3_2_3 = 150;
|
|
|
|
|
private static final int V3_1_0 = 146;
|
|
|
|
|
private static final int V3_0_6 = 145;
|
|
|
|
|
@ -108,8 +109,12 @@ public final class UpgradeService {
|
|
|
|
|
"If you liked the old version, you can also go back by " +
|
|
|
|
|
"<a href='http://bit.ly/oldastrid'>clicking here</a>",
|
|
|
|
|
});
|
|
|
|
|
if(from > V2_14_4 && from <= V3_2_4)
|
|
|
|
|
newVersionString(changeLog, "3.2.5 (8/18/10)", new String[] {
|
|
|
|
|
"Fix for duplicated tasks created in RTM",
|
|
|
|
|
});
|
|
|
|
|
if(from > V2_14_4 && from <= V3_2_3)
|
|
|
|
|
newVersionString(changeLog, "3.2.4 (8/18/10)", new String[] {
|
|
|
|
|
newVersionString(changeLog, "3.2.5 (8/18/10)", new String[] {
|
|
|
|
|
"Fix for duplicated tasks created in Producteev",
|
|
|
|
|
"Fix for being able to create tasks without title",
|
|
|
|
|
});
|
|
|
|
|
@ -121,7 +126,6 @@ public final class UpgradeService {
|
|
|
|
|
"Synchronize with Producteev! (producteev.com)",
|
|
|
|
|
"Select tags by drop-down box",
|
|
|
|
|
"Cosmetic improvements, calendar & sync bug fixes",
|
|
|
|
|
"... enjoy! - we <3 astrid team",
|
|
|
|
|
});
|
|
|
|
|
if(from > V2_14_4 && from <= V3_0_6)
|
|
|
|
|
newVersionString(changeLog, "3.1.0 (8/9/10)", new String[] {
|
|
|
|
|
@ -132,7 +136,6 @@ public final class UpgradeService {
|
|
|
|
|
"Restored tag hiding when tag begins with underscore (_)",
|
|
|
|
|
"FROYO: disabled moving app to SD card, it would break alarms and widget",
|
|
|
|
|
"Also gone: a couple force closes, bugs with repeating tasks",
|
|
|
|
|
"... enjoy! - we <3 astrid team",
|
|
|
|
|
});
|
|
|
|
|
if(from > V2_14_4 && from <= V3_0_5)
|
|
|
|
|
newVersionString(changeLog, "3.0.6 (8/4/10)", new String[] {
|
|
|
|
|
@ -145,7 +148,7 @@ public final class UpgradeService {
|
|
|
|
|
if(changeLog.length() == 0)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
changeLog.append("</body></html>");
|
|
|
|
|
changeLog.append("Enjoy!</body></html>");
|
|
|
|
|
String changeLogHtml = "<html><body style='color: white'>" + changeLog;
|
|
|
|
|
|
|
|
|
|
WebView webView = new WebView(context);
|
|
|
|
|
|